1.1.1 • Published 1 year ago
hashed-env v1.1.1
Hashed env
Seed pseudo-random environment variables with a repository's git hash.
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
Tests
To run tests:
npm run test
Documentation
To generate the documentation locally:
npm run docs
Linters
To run linters:
npm run lint
Formatters
To run formatters:
npm run 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
- Joel Lefkowitz - Initial work
Remarks
Lots of love to the open source community!