Jon Schlinkert's Projects
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Returns true when the given `name` matches any of the path properties on a vinyl file
Get a property from an object with the first key that matches the given glob pattern, function, regex or string.
Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.
Match the words in a string. Support for english, CJK and Cyrillic.
Glob matching with support for multiple patterns and negation. Use `~` in cwd to find files in user home, or `@` for global npm modules.
Return an array of resolved filepaths for specified npm module dependencies. Minimatch patterns can be used.
HTML block tags considered valid in markdown according to the CommonMark specification.
Easily create reusable, stackable file paths from memoized path segments.
Find, load and merge JSON and YAML config settings from one or more files, in the specified order.
Recursively merge values in a JavaScript object.
Load and merge configuration settings from multiple sources, in a specific order, and normalized according to a schema.
Similar to assign-value but deeply merges object values or nested values using object path/dot notation.
Returns an array of function property names from all enumerable properties on an object, own and inherited.
Middleware for templates, assemble, verb, generate or update, for renaming files based on front-matter properties.
Utils for `templates`, assemble, verb, update and generate middleware.
Adds events to minimist, ~30 sloc
Expand minimist args with expand-object.
Map your node.js application's methods to command line arguments.
Simple wrapper to make minimist pluggable. ~20 sloc.
Get the number of minutes for an hour, day, week and the elapsed minutes for the current day.
Deeply mix the properties of objects into the first object, while also mixing-in child objects.
Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.
Get the resolved path to the root of a package installed in node_modules
Create a visual tree of module dependencies. Optionally pass a glob pattern to limit the result to names with that pattern, or a regex to highlight specific packages.
CLI for running [prettier] with opinionated defaults.
Move a property from one object to another.
Use with Assemble, Verb, or Templates.js to easily add namespaced variables like `page` or `post` to the context. This allows you to use `{{page.title}}` instead of `{{title}}` to get the current page's title. Can be used with verb, assemble v0.6.0, or any application based on Templates.js.
Read data files and extend the data from each onto an object or objects, named using the given string.
Use namespaced helpers with handlebars.