jonschlinkert / strip-comments
Strip block comments or line comments from JavaScript code.
☆111Updated 11 months ago
Related projects: ⓘ
- Strip UTF-8 byte order mark (BOM) from a string☆111Updated 3 years ago
- Write a package.json file☆89Updated last month
- Convert a value to an array☆131Updated 2 years ago
- Get the latest version of an npm package☆175Updated 6 months ago
- Detect the dominant newline character of a string☆55Updated 11 months ago
- Read a package.json file☆165Updated 10 months ago
- Nodejs cp -R☆79Updated 3 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆106Updated last year
- Flatten a multi-dimensional array in JavaScript.☆86Updated 9 months ago
- Create and parse HTTP Content-Type header☆131Updated 2 months ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Easily handle defaults for your options☆74Updated 11 months ago
- Strip leading whitespace from each line in a string☆134Updated 3 years ago
- process information for node.js and browsers☆122Updated 4 years ago
- Filter object keys and values into a new object☆100Updated 3 months ago
- Make a callback- or promise-based function support both promises and callbacks.☆109Updated 10 months ago
- Simple, flexible file copy utility☆96Updated 2 months ago
- Yeoman runtime environment☆127Updated this week
- Find the closest package.json file☆158Updated 10 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆162Updated 3 months ago
- Clear a module from the cache☆182Updated 2 years ago
- The cmd-shim used in npm☆76Updated 3 weeks ago
- Watch globs and execute a function upon change, with intelligent defaults for debouncing and queueing.☆80Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated 8 months ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆150Updated last year
- Improved typeof detection for node.js and the browser.☆129Updated last month
- Get the gzipped size of a string or buffer☆169Updated 2 years ago
- Check if a value is a plain object☆101Updated 4 months ago
- Get the file location associated with a dependency/partial's path☆78Updated 3 weeks ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 2 years ago