Neural Prediction Model

    This package has been deprecated

    Author message:

    For now, this project is deprecated. I no longer use or work on it, and doubt others are using it. If by any chance you were using this, and would like to see more of it in some form, let me know: justnvdm@gmail.com

    creep

    0.2.2 • Public • Published

    creep

    crawls metadata in files and directories.

    $ creep "'microscopic' in tags or 'rainbows' in tags"  
    a.md
    b.js

    installation

    # npm install -g creep 

    usage

    add front matters to the files you want to be searchable:

    a.md:

    ---
    tags:
      - rainbows
      - earthworms
    ---
    
    # there are rainbows
    and earthworms
    

    b.js:

    // ---
    // tags:
    //   - microscopic
    //   - hummingbirds
    // ---
     
    console.log('and microscopic hummingbirds');

    then just query the metadata:

    $ creep "'microscopic' in tags or 'rainbows' in tags"  
    a.md
    b.js

    creep uses coffeescript as the query language, but alternatives can be plugged in. lodash is available in queries as _.

    creep looks for the first of the following metadata files in the directories it crawls, recursively merging the metadata into child directory and file metadata:

    • .creep.yml
    • .creep.yaml
    • creep.yml
    • creep.yaml
    • .creep.json
    • creep.json

    config

    creep's uses the config defaults given in creep.config, then merges these defaults with the first of these configs that it finds:

    • ./.creeprc.yml
    • ./.creeprc.yaml
    • ./.creeprc.json
    • $HOME/.creeprc.yml
    • $HOME/.creeprc.yaml
    • $HOME/.creeprc.json

    Install

    npm i creep

    DownloadsWeekly Downloads

    1

    Version

    0.2.2

    License

    MIT

    Last publish

    Collaborators

    • justinvdm