Displaying 1 to 20 from 42 results

url-pattern - easier than regex string matching patterns for urls and other strings

  •    CoffeeScript

easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.a pattern is immutable after construction. none of its methods changes its state. that makes it easier to reason about.

path-exists - Check if a path exists

  •    Javascript

NOTE: fs.existsSync has been un-deprecated in Node.js since 6.8.0. If you only need to check synchronously, this module is not needed.While fs.exists() is being deprecated, there's still a genuine use-case of being able to check if a path exists for other purposes than doing IO with it.




path-type - Check if a path is a file, directory, or symlink

  •    Javascript

Returns a Promise for a boolean of whether the path is the checked type.Returns a boolean of whether the path is the checked type.

filenamify - Convert a string to a valid safe filename

  •    Javascript

On Unix-like systems / is reserved and <>:"/\|?* on Windows.Accepts a filename and returns a valid filename.


open-editor - Open files in your editor at a specific line and column

  •    Javascript

*Doesn't support column.Open the given files in the user's editor at specific line and column if supported by the editor. It does not wait for the editor to start or quit.

global-modules - The directory used by npm for globally installed npm modules.

  •    Javascript

The directory used by npm for globally installed npm modules. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

global-prefix - Get the npm global path prefix. Same code used internally by npm.

  •    Javascript

Get the npm global path prefix. This is partially based on the code used by npm internally to resolve the global prefix.