sds
structured data search
Last updated 9 years ago by monsterkodi .
Unlicense · Repository · Bugs · Original npm · Tarball · package.json
$ npm install sds -g
SYNC missed versions from official npm registry.

icon

usage

list

list

search

search

suche die struktur

sds = require 'sds'

# test against sds.extnames [list of supported file extensions]

if path.extname(infile) in sds.extnames

    # load object from file
    
    obj = sds.load infile

    # find something ...
    
    sds.find.value     obj, '*value' 
    sds.find.key       obj, '*key' 
    sds.find.path      obj, '*path' 
    sds.find.keyValue  obj, '*key',  '*value'
    sds.find.pathValue obj, '*path', '*value'
    
    # all find methods return a list of keypaths
    # each keypath is in itself a list of strings
    #
    # use sds.get to retrieve the value at a keypath
    
    sds.get obj, keypath

    # use stringify to convert to any of the supported formats
    
    sds.stringify obj, ext: 'yaml'
    
    # or save to disk (format is deduced from extension)
    
    sds.save outfile, obj
    
    # happy searching :-)

npm package Build Status downloads Dependencies Status

Current Tags

  • 4.4.0                                ...           latest (4 years ago)

93 Versions

  • 4.4.0                                ...           4 years ago
  • 4.3.0                                ...           4 years ago
  • 4.2.0                                ...           4 years ago
  • 4.1.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.2.0                                ...           5 years ago
  • 3.1.1                                ...           5 years ago
  • 3.1.0                                ...           5 years ago
  • 3.0.2                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.1.1                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.14.1                                ...           7 years ago
  • 1.14.0                                ...           7 years ago
  • 1.12.0                                ...           7 years ago
  • 1.11.0                                ...           7 years ago
  • 1.9.1                                ...           7 years ago
  • 1.9.0                                ...           7 years ago
  • 1.8.1                                ...           8 years ago
  • 1.7.4                                ...           9 years ago
  • 1.7.3                                ...           9 years ago
  • 1.7.2                                ...           9 years ago
  • 1.7.1                                ...           9 years ago
  • 1.6.7                                ...           9 years ago
  • 1.6.6                                ...           9 years ago
  • 1.6.5                                ...           9 years ago
  • 1.6.4                                ...           9 years ago
  • 1.6.3                                ...           9 years ago
  • 1.6.2                                ...           9 years ago
  • 1.6.1                                ...           9 years ago
  • 1.5.11                                ...           9 years ago
  • 1.5.10                                ...           9 years ago
  • 1.5.9                                ...           9 years ago
  • 1.5.8                                ...           9 years ago
  • 1.5.7                                ...           9 years ago
  • 1.5.6                                ...           9 years ago
  • 1.5.5                                ...           9 years ago
  • 1.5.4                                ...           9 years ago
  • 1.5.3                                ...           9 years ago
  • 1.5.2                                ...           9 years ago
  • 1.5.1                                ...           9 years ago
  • 1.4.23                                ...           9 years ago
  • 1.4.22                                ...           9 years ago
  • 1.4.21                                ...           9 years ago
  • 1.4.19                                ...           9 years ago
  • 1.4.18                                ...           9 years ago
  • 1.4.17                                ...           9 years ago
  • 1.4.16                                ...           9 years ago
  • 1.4.15                                ...           9 years ago
  • 1.4.12                                ...           9 years ago
  • 1.4.11                                ...           9 years ago
  • 1.4.10                                ...           9 years ago
  • 1.4.9                                ...           9 years ago
  • 1.4.8                                ...           9 years ago
  • 1.4.7                                ...           9 years ago
  • 1.4.6                                ...           9 years ago
  • 1.4.5                                ...           9 years ago
  • 1.4.4                                ...           9 years ago
  • 1.4.3                                ...           9 years ago
  • 1.4.2                                ...           9 years ago
  • 1.4.1                                ...           9 years ago
  • 1.3.4                                ...           9 years ago
  • 1.2.22                                ...           9 years ago
  • 1.2.20                                ...           9 years ago
  • 1.2.17                                ...           9 years ago
  • 1.2.13                                ...           9 years ago
  • 1.2.12                                ...           9 years ago
  • 1.2.5                                ...           9 years ago
  • 1.2.4                                ...           9 years ago
  • 1.2.3                                ...           9 years ago
  • 1.2.2                                ...           9 years ago
  • 1.2.1                                ...           9 years ago
  • 1.1.5                                ...           9 years ago
  • 1.1.4                                ...           9 years ago
  • 1.1.3                                ...           9 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.0.4                                ...           9 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 0.2.4                                ...           9 years ago
  • 0.2.3                                ...           9 years ago
  • 0.2.2                                ...           9 years ago
  • 0.2.1                                ...           9 years ago
  • 0.1.5                                ...           9 years ago
  • 0.1.4                                ...           9 years ago
  • 0.1.3                                ...           9 years ago
  • 0.1.2                                ...           9 years ago
  • 0.1.1                                ...           9 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (2)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE