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.
nodejs cache memory internal caching fast local variable multi node memcached objectGitdown 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.
markdown github table-of-contents toc include variable transclusionHere is the default tracking code of Google Analytics. It has the immediate invoked function with seven parameters i s o g r a m.
isogram google-analytics cli easter-egg variable ecmascript code-generator nodejs snippet source script code analytics universal-analytics parameter parameters word word-play nonpattern browser client-side command-lineFlexible lightweight configuration loader for Node
config configuration file require json environment variable node yaml coffee coffee-scriptLook up environment settings specific to different operating systems
environment variable home tmpdir path prompt ps1First 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.
username user login name logname lname whoami shell env var environment variableEspecially 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.
env var environment variable shell sh zsh bash osx electron nwjsIt's usually PATH, but on Windows it can be any casing like Path...Use a custom environment variables object.
path key environment env variable var get cross-platformThe 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.
shim private property instance variable weakmapGrunt 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.
gruntplugin include require replace variable parameter import templateSamples the standard normal distribution, with 0 mean and unit standard deviation.Generates a random number from the Guassian distribution.
guass gaussian random sample variable standard normal distribution statisticsIf 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.
ast variable name lexical local global implicit exportedAn array of the 13 standard (rfc3092) metasyntactic variables.
rfc3092 json metasyntactic variable namesTiny environment variable helper, that I'll use in all my apps.Ensures that all the required environment variables are present.
env var variableVarStream 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.
variable file stream json ipc pipe format read write localization configuration
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.