Hashed env
Seed pseudo-random environment variables with a repository's git hash.
Status
Source | Shields |
---|---|
Project |
|
Health |
|
Publishers |
|
Repository |
|
Activity |
|
Installation
npm i hashed-env
Usage
import { set } from './hashed-env';
set('foo', 'bar');
process.env.foo = ... // MD5 of (<git long hash>.concat('bar'))
Tests
To run tests:
nps test
Documentation
This repository's documentation is hosted on Read the Docs.
To generate the documentation locally:
quickdocs
Linters
To run linters:
nps lint
Formatters
To run formatters:
nps format
Continuous integration
This repository uses GitHub Actions to lint and test each commit. Each commit should be formatted and its corresponding documentation should be updated.
Versioning
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
Changelog
Please read this repository's changelog for details on changes that have been made.
Contributing
Please read this repository's guidelines on contributing for details on the process for submitting pull requests. Moreover, our code of conduct declares our collaboration standards.
Contributors
- Joel Lefkowitz - Initial work
Remarks
Lots of love to the open source community!