jonschlinkert / strip-comments
Strip block comments or line comments from JavaScript code.
☆115Updated last year
Alternatives and similar repositories for strip-comments:
Users that are interested in strip-comments are comparing it to the libraries listed below
- Detect the dominant newline character of a string☆55Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Detect the indentation of code☆196Updated last year
- Write a package.json file☆88Updated 7 months ago
- Read a package.json file☆165Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`☆143Updated last year
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆111Updated 4 years ago
- Easily handle defaults for your options☆73Updated last year
- Returns true if the given value is an object created by the Object constructor.☆151Updated 11 months ago
- Make a callback- or promise-based function support both promises and callbacks.☆111Updated last year
- Check if a value is a plain object☆102Updated 10 months ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆152Updated last year
- when you want to fire an event no matter how a process exits.☆190Updated last year
- Create and parse HTTP Content-Type header☆134Updated 8 months ago
- Sort the keys of an object☆101Updated 6 months ago
- Throttle a function to limit its execution rate☆98Updated 9 months ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Manipulate the HTTP Vary header☆61Updated 10 months ago
- The cmd-shim used in npm☆76Updated 5 months ago
- Find the closest package.json file☆162Updated last year
- Nodejs cp -R☆79Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 weeks ago
- Import a globally installed module☆58Updated last year
- Simple RFC 6838 media type parser and formatter☆55Updated 10 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 8 months ago
- Parse the things that can be arguments to `npm install`☆129Updated last month
- The thing npm uses to read package.json files with semantics and defaults and validation and stuff☆224Updated 10 months ago