Displaying 1 to 20 from 37 results

nodecache - a node internal caching module

  •    CoffeeScript

A simple caching module that has set, get and delete methods and works a little bit like memcached. Keys can have a timeout (ttl) after which they expire and are deleted from the cache. All keys are stored in a single object so the practical limit is at around 1m keys. Since 4.1.0: Key-validation: The keys can be given as either string or number, but are casted to a string internally anyway. All other types will either throw an error or call the callback with an error.

gitdown - GitHub markdown preprocessor.

  •    Javascript

Gitdown adds additional functionality (generating table of contents, including documents, using variables, etc.) to GitHub Flavored Markdown. Gitdown is designed to be run using either of the build systems, such as Gulp or Grunt.




username - Get the username of the current user

  •    Javascript

First tries to get the username from the SUDO_USER LOGNAME USER LNAME USERNAME environment variables. Then falls back to $ id -un on macOS / Linux and $ whoami on Windows, in the rare case none of the environment variables are set. The result is cached.Returns a Promise for the username.

shell-env - Get environment variables from the shell

  •    Javascript

Especially useful for Electron/NW.js apps as GUI apps on macOS doesn't inherit the environment variables defined in your dotfiles (.bashrc/.bash_profile/.zshrc/etc).Return a promise for the environment variables.

shell-path - Get the $PATH from the shell

  •    Javascript

Useful for Electron/NW.js apps as GUI apps on macOS doesn't inherit the $PATH defined in your dotfiles (.bashrc/.bash_profile/.zshrc/etc).Return a promise for the $PATH.


path-key - Get the PATH environment variable key cross-platform

  •    Javascript

It's usually PATH, but on Windows it can be any casing like Path...Use a custom environment variables object.

private-parts - A simple and intuitive way to shim private methods and properties in JavaScript.

  •    Javascript

The Private Parts module provides a simple and intuitive way to shim private methods and properties in JavaScript. It's small, easy to use, requires minimal setup, and works in both node and the browser. For more information on how Private Parts works and the problems it solves, see my article introducing it.

grunt-include-replace - Grunt task to include files and replace variables

  •    Javascript

Grunt task to include files and replace variables.The task allows you to preprocess your project file contents by replacing placeholder "variables" and including content from other files. In addition to "global" variables that are replaced in all files you specify, the task introduces the concept of "local" variables, which are passed as parameters to included files.

color-preset - Color preset for PostCSS and Sass developers.

  •    CSS

Color preset for PostCSS and Sass developers.Directly import it in Sass or use postcss-import and postcss-simple-vars to work with PostCSS.

gauss-random - Sample standard normal distribution

  •    Javascript

Samples the standard normal distribution, with 0 mean and unit standard deviation.Generates a random number from the Guassian distribution.

fix-path - Fix the $PATH on macOS when run from a GUI app

  •    Javascript

Useful for Electron/NW.js apps as GUI apps on macOS doesn't inherit the $PATH defined in your dotfiles (.bashrc/.bash_profile/.zshrc/etc).

lexical-scope - detect global and local lexical identifiers from javascript source code

  •    Javascript

If you are using a modern browser, you can go to http://lexical-scope.forbeslindesay.co.uk/ for a live demo.Return a scope structure from a javascript source string src.

envobj - Tiny environment variable helper, that I'll use in all my apps.

  •    Javascript

Tiny environment variable helper, that I'll use in all my apps.Ensures that all the required environment variables are present.

VarStream - VarStream is an elegant alternative to JSON to exchange datas between apps.

  •    Javascript

VarStream is a data storage and exchange format. VarStream allows you to configure your projects in a clear and readable way. Since VarStream is merge friendly, it is particularly usefull for loading multilevel configuration files without erasing previously set contents.