GitXplorerGitXplorer
m

node-config-uncached

public
5 stars
2 forks
2 issues

Commits

List of commits on branch master.
Unverified
2b69474a5746fb34edab172f7b13d4cb75d25d66

Change version to 1.0.2

committed 10 years ago
Unverified
81e86084ef96b96d1d8c48994dab44a34abbbcab

Update eslint

committed 10 years ago
Unverified
ade6c6bbb753bc063639b46f559c5c3906644b7f

Add 'test', cleanup lint

mm19c committed 10 years ago
Unverified
93c46b857606e7bdf9395625c63f819a88915562

Add install

mm19c committed 10 years ago
Unverified
0526751cba7747ae5c07cda12a19f63608894938

Prepare 1.0.1

mm19c committed 10 years ago
Unverified
3dc879c459126e7562fc72df4d90b123600d52e2

Add main to our package.json, add npm ignore file

mm19c committed 10 years ago

README

The README file for this repository.

config-uncached

Purge the internal require.cache for all files used by config.

Install

npm i config-uncached

Example

var config = require('config-uncached');

config().version; // 1.0.0
// change `config/default.js.version` to 1.0.1
config(true).version; // 1.0.1

License

The MIT License (MIT)

Copyright (c) 2015 Marc Binder marcandrebinder@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.