Search results
1419 packages found
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.
Get the number of hours for a day, week and the elapsed hours for the current day.
Map single letter abbreviations to javascript native types. Useful as a shorthand for pseudo-argument destructuring when debugging.
Faster alternative to javascript's native filter method.
Find and replace utility for node.js. Transform strings by running multiple RegExp or string find-and-replace patterns on a string in sequence, reducing the final string to the accumulated result of each transformation. Patterns can be strings (or arrays
- expression
- expressions
- find
- format
- match
- matches
- modify
- pattern
- patterns
- regex
- regexp
- regular
- replace
- replaced
- View more
Get the name of a project, from package.json, git config, or basename of the current working directory.
Yeoman generator for Writer. Generate project documentation templates or a README template for Writer to build.
- assemble
- build
- doc
- docs generator
- docs
- documentation
- generator
- gh-pages
- markdown docs
- markdown
- marked
- marked.js
- md docs
- md
- View more
Run and compose async tasks. Easily define groups of tasks to run in series or parallel.
noop engine, consolidate.js style. Works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.
Handlebars helper. Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
Returns an array of mapped values from an array or object.
Utils for working with metadata.
HTML void elements are not the only self-closing tags. This includes common SVG self-closing elements as well.
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Regex to validate that a URL is a git url.
Returns true if the given name is a HTML void element or common SVG self-closing element.
Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).
Wraps templates with layouts. Layouts can use other layouts and be nested to any depth. This can be used 100% standalone to wrap any kind of file with banners, headers or footer content. Use for markdown, HTML, handlebars views, lo-dash templates, etc. La