Map the destination path for a file based on the given source path and options.
Repositories
jonschlinkert repositories
Return an object for a glob of files. Pass a `rename` function for the keys, or a `parse` function for the content, allowing it to be used for readable or require-able files.
Normalize an object by running normalizers and validators that are mapped to a schema.
Register patterns to find tokens in a string and map them to unique IDs, allowing them to be extracted, replaced or restored.
Map single letter abbreviations to javascript native types. Useful as a shorthand for pseudo-argument destructuring when debugging.
Map `visit` over an array of objects.
Micro util for generating a single markdown link.
nothing to see
Render a markdown-formatted bullet list from an array or string.
Micro-util for generating a markdown-formatted reference link.
Slugify the url part of a markdown heading link.
Easily add and create custom symbols to use in markdown, and then compile them to HTML.
API and CLI for generating a markdown TOC (table of contents) for a README or any markdown files. Uses Remarkable to parse markdown. Used by NASA/openmct, Prisma, Joi, Mocha, Sass, Prettier, Orbit DB, FormatJS, Raneto, hapijs/code, webpack-flow, docusaurus, release-it, ts-loader, json-server, reactfire, bunyan, husky, react-easy-state, react-snap, chakra-ui, carbon, alfresco, repolinter, Assemble, Verb, and thousands of other projects.
Convert plain text into snippets of markdown.
Extras for marked.js. Utils, language definitions, templates for custom headings and sensible defaults. Used on a number of production sites, including Less.js / lesscss.org.
DEPRECATED: use markdown-toc
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.