hashed-env
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

Hashed env

Seed pseudo-random environment variables with a repository's git hash.

Review Version Downloads Size Quality Coverage

Installing

npm install hashed-env

Documentation

Documentation and more detailed examples are hosted on Github Pages.

Usage

import { set } from './hashed-env';

set('foo', 'bar');

process.env.foo = ... // MD5 of (<git long hash>.concat('bar'))

Tooling

Dependencies

To install dependencies:

yarn install

Tests

To run tests:

yarn test

Documentation

To generate the documentation locally:

yarn docs

Linters

To run linters:

yarn lint

Formatters

To run formatters:

yarn format

Contributing

Please read this repository's Code of Conduct which outlines our collaboration standards and the Changelog for details on breaking changes that have been made.

This repository adheres to semantic versioning standards. For more information on semantic versioning visit SemVer.

Bump2version is used to version and tag changes. For example:

bump2version patch

Contributors

Remarks

Lots of love to the open source community!

Be kind to your mind Love each other It's ok to have a bad day

Dependents (0)

Package Sidebar

Install

npm i hashed-env

Weekly Downloads

1

Version

1.3.0

License

MIT

Unpacked Size

6.05 kB

Total Files

7

Last publish

Collaborators

  • joellefkowitz