Jon Schlinkert's Projects
File system utils for normalizing things like eol, encoding and BOM.
Read a glob of files, dynamically choosing the reader or requiring the files based on the file extension.
Set the `stat` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.
Resolves the realpath for symlinks, and exposes the `stat` property on a `file` object. Abstraction from vinyl-fs to support non-stream or stream usage.
WIP NOT READY FOR USE! Git-backed file storage and versioning, with i18n support
Filter functions for files.
DEPRECATED: use https://github.com/jonschlinkert/normalize-config instead
Fill an array to the given length by repeating its elements. This is a very fast implementation.
Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.
Iterates over the elements in an array, returning an array with only the elements for which the callback returns truthy.
Recursively read directories and return a list of files, filtered to have only the files for which the (optional) filter function returns `true`. Sync and async.
Filter an array to have only function values, or an object to have only properties with function values.
Filter the keys of an object using glob patterns.
Return a copy of an object, filtered to have only keys that match the given glob patterns.
Filter an array or arguments by JavaScript native type (e.g. functions, strings, etc).
Filter items from an array or arguments that match the specified javascript native type or types. Uses a very fast filter function.
Filter an object to have only the `own` properties for which a `callback` function returns true.
Find a file, starting with the given cwd and recursively searching up one directory until it's found (or we run out of directories). Async and sync.
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Returns a JavaScript date object with the date and time of a git repository's first commit.
Fixtures. Cannon fodder for tests.
Simple Express app to demo Heroku Flow
Iterate over the enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`.
Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`.
Copy properties from an object to another object, where properties with function values will be invoked in the context of the provider, and properties with non-function values are just copied.
A cache for managing namespaced sub-caches
A find and replace utility. Modify strings by passing an array of RegExp or string replacement patterns
Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.
Generalized file and path utils for Node.js projects.
Command line tool for easily generating test fixtures. Specify the number of files to create and the destination directory to write them to, and files and directories will be randomly generated in the specified destination.