jonschlinkert
There are 89 repositories under jonschlinkert topic.
jonschlinkert/remarkable
Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents.
jonschlinkert/gray-matter
Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert
helpers/handlebars-helpers
188 handlebars helpers in ~20 categories. Can be used with Assemble, Ghost, YUI, express.js etc.
jonschlinkert/markdown-toc
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.
jonschlinkert/maintainers-guide-to-staying-positive
Don't let the trolls get you down! Use this as a reference to avoid open-source burnout and keep doing what you love: writing code! Contributions and any kind of improvements are very welcome!
jonschlinkert/kind-of
Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!
jonschlinkert/clone-deep
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives. Used by superstruct, merge-deep, and many others!
jonschlinkert/get-value
Use property paths (`a.b.c`) get a nested value from an object.
jonschlinkert/is-number
JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
verbose/verb-generate-readme
Generate your project's readme with verb. Requires verb v0.9.0 or higher.
jonschlinkert/pretty
Sensible presets and some tweaks for beautifying HTML with js-beautify according to my preferences.
jonschlinkert/strip-comments
Strip block comments or line comments from JavaScript code.
jonschlinkert/merge-deep
Recursively merge values in a JavaScript object.
jonschlinkert/normalize-path
Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!
jonschlinkert/isobject
Is the value an object, and not an array or null?
jonschlinkert/gists
Methods for working with the GitHub Gist API. Node.js/JavaScript
micromatch/is-glob
If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a better user experience. 55+ million downloads.
jonschlinkert/dashify
Convert a string to a dash-separated string (kebab case). Works with camelcase, pascalcase, space-separated, etc.
jonschlinkert/write
Write data to the file system, creating any intermediate directories if they don't already exist. Used by flat-cache and many others!
jonschlinkert/mixin-deep
Deeply mix the properties of objects into the first object, while also mixing-in child objects.
jonschlinkert/assign-deep
Deeply assign the enumerable properties of source objects to a destination object.
jonschlinkert/template-helpers
Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or any engine that supports helper functions.
jonschlinkert/array-sort
Fast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used.
jonschlinkert/omit-empty
Recursively omit empty properties from an object. Omits empty objects, arrays, strings, and optionally zero. Similar results to what you would expect with `compact` for arrays.
jonschlinkert/parse-comments
Parse JavaScript code comments. Works with block and line comments, and should work with CSS, LESS, SASS, or any language with the same comment formats.
folder/xdg
Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows, or MacOS.
jonschlinkert/parse-git-config
Parse `.git/config` into a JavaScript object. sync or async.
jonschlinkert/templates
System for creating and managing view collections, rendering, engines, routes and more. See the "dev" branch for most recent updates.
jonschlinkert/split-string
Split a string on a given character or characters, with support for escaping.
jonschlinkert/align-text
Align the text in a string.
jonschlinkert/pretty-time
Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.
jonschlinkert/extract-comments
Extract JavaScript code comments from a string or glob of files.
jonschlinkert/repeat-string
Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)
jonschlinkert/is-windows
Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)
folder/readdir
Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.
jonschlinkert/pascalcase
Convert a string to pascal case (upper camel case). Used by more than 8.7 million projects on GitHub! Please follow this library's author: https://github.com/jonschlinkert