Displaying 1 to 20 from 60 results

envify - :wrench: Selectively replace Node-style environment variables with plain strings.

  •    Javascript

Selectively replace Node-style environment variables with plain strings. Available as a standalone CLI tool and a Browserify v2 transform.Works best in combination with uglifyify.

dotenv - Loads environment variables from .env for nodejs projects.

  •    Javascript

Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.As early as possible in your application, require and configure dotenv.

cross-env - 🔀 Cross platform setting of environment scripts

  •    Javascript

Most Windows command prompts will choke when you set environment variables with NODE_ENV=production like that. (The exception is Bash on Windows, which uses native Bash.) Similarly, there's a difference in how windows and POSIX commands utilize environment variables. With POSIX, you use: $ENV_VAR and on windows you use %ENV_VAR%.cross-env makes it so you can have a single command without worrying about setting or using the environment variable properly for the platform. Just set it like you would if it's running on a POSIX system, and cross-env will take care of setting it properly.




myth - A CSS preprocessor that acts like a polyfill for future versions of the spec.

  •    Javascript

CSS the way it was imagined. Myth is a preprocessor that lets you write pure CSS without having to worry about slow browser support, or even slow spec approval. It's like a CSS polyfill.

postcss-write-svg - Write SVGs directly in CSS

  •    Javascript

Write SVG lets you write SVGs directly in CSS. @svg at-rules generate SVG elements available to CSS. Within an @svg, descendant at-rules (like @rect) are interpreted as elements, while declarations (like width) are interpreted as attributes.

postcss-simple-vars - PostCSS plugin for Sass-like variables

  •    Javascript

PostCSS plugin for Sass-like variables.You can use variables inside values, selectors and at-rule’s parameters.


user-home - Get the path to the user home directory

  •    Javascript

Returns null in the unlikely scenario that the home directory can't be found.This module was made long before os-homedir. When Node.js decided to add a native method for getting the user's home directory, I made a polyfill matching its API and decided to depend on it here, so not to have duplicate code. The main reason this one is still around is that lots of modules depend on it and I see no reason to inconvenience dependents by deprecating this. This one also gets the home directory on startup and returns a string rather than exposing a method, so it's faster, and I prefer this API. Modules are cheap in Node.js, so doesn't matter. Use whichever you prefer. I'm going to continue using this one.

now-env - Use `now.json` environment variables while developing

  •    Javascript

With the help of this package, you can easily set environment variables for the use in development.If you're already using a now.json file or the now key in package.json, the env sub property will be assigned to process.env automatically.

dotenv-expand - Variable expansion for dotenv

  •    Javascript

Dotenv-expand adds variable expansion on top of dotenv. If you find yourself needing to expand environment variables already existing on your machine, then dotenv-expand is your tool.As early as possible in your application, require dotenv and dotenv-expand, and wrap dotenv-expand around dotenv.

dotenv-parse-variables - Parse dotenv files for Boolean, Array, and Number variable types, built for Lad

  •    Javascript

Parse dotenv files for Boolean, Array, and Number variable types, built for CrocodileJS.After using this plugin, the environment variables are parsed to their proper types.

postcss-custom-properties - PostCSS plugin to transform W3C CSS Custom Properties for cascading variables

  •    Javascript

PostCSS plugin to transform W3C CSS Custom Properties for cascading variables syntax to more compatible CSS.Per w3c specifications, the usage of var() is limited to property values. Do not expect the plugin to transform var() in media queries or in selectors.

globals - Global identifiers from different JavaScript environments

  •    Javascript

Extracted from JSHint and ESLint and merged.It's just a JSON file, so use it in whatever environment you like.

godump - Dumps information about a variable Like var_dump() in php.

  •    Go

Dumps information about a variable. Now godump is part of zhgo project.

qconf - Painless configuration with defaults file, environment variables, arguments, function parameters

  •    Javascript

Painless configuration for Node apps with defaults file, environment variables, arguments, function parameters.Got sick of the complexity of nconf. Don't try to be everything to everybody. Just get a simple job done with simple code.

common-env - :key: The only configuration library you will ever need

  •    Javascript

common-env configuration through environment variables finally done right. getOrElseAll allows you to specify a configuration object with default values that will be resolved from environment variables.