Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

creep

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

creep

Crawls metadata in files and directories

  • 0.2.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 16 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc