Jon Schlinkert's Projects
Generate a github-flavored-markdown fenced-code-block snippet.
Stringify any value to be used as the key of an object.
Parse a string into a list object with text and level properties.
Does one simple thing: coverts the `license` field in package.json to `MIT`, or adds the license field with `MIT` if it does not already exist.
Create an object path (dot notation) from a list or array of strings.
Turn source code into quoted strings to be used as templates/modules.
Creates a range (array) from two numbers, negative or positive, with an optional step (increment).
Generate a regex from a string or array of strings.
Convert a vinyl file object to a Template-compatible template object.
Convert a Template template-object to a vinyl file object.
In an array of objects, this enables a property on the object at the specified index, while disabling the property on all other objects.
Uses snapdragon to tokenize a single JavaScript block comment into an object, with description, tags, and code example sections that can be passed to any other comment parsers for further parsing.
Get and update GitHub repository topics.
Very simple API for tracking changes to the property of an object for use in debugging.
Transformicons: Animated icons, symbols and buttons using SVG and CSS. Inspired by the article from Sara Soueidan and the work of Bennett Feely.
Trim leading lines from a string when they are 100% whitespace or empty. Indentation is left unharmed.
Tries to open a file using fs.openSync (only necessary with sync), fails gracefully if the file path does not exist on the file system. Since fs.existsSync has been deprecated, this can be used as an alternative.
Get the native JavaScript type of a value, preceded by the appropriate indefinite article (either `a` or `an`), for use in error messages.
Convert HTML entities to HTML characters, e.g. `>` => `>`.
Downloads and parses the latest unicode data text file into an array of unicode objects
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation. Node.js/JavaScript util.
Return the unique words in a string or array.
Generate a unique sequential ID. Optionally pass a prefix, suffix, or multiplier.
Convert a windows file path to a unix-style file path.
Webpack loader to transform lazy-cache files into unlazy cached files.
Delete nested properties from an object using dot notation.
Add or update a banner in a string. Updates the copyright statement and optionally a homepage url - or pass a custom template.
Update a copyright statement with the current year. Also makes minor corrections.
Update copyright information in a MIT license.
Nothing to see yet. this is very in progress.