diff --git a/README.md b/README.md index 5af0f7e..37fbc31 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ pairing with smart people at Hashrocket. For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186). -_1386 TILs and counting..._ +_1387 TILs and counting..._ --- @@ -486,6 +486,7 @@ _1386 TILs and counting..._ - [Running ES6 Specs With Mocha](javascript/running-es6-specs-with-mocha.md) - [Scoping Variables With A Block Statement](javascript/scoping-variables-with-a-block-statement.md) - [Short Circuit Concurrently When Process Fails](javascript/short-circuit-concurrently-when-process-fails.md) +- [Show Description Of All npm Config Options](javascript/show-description-of-all-npm-config-options.md) - [Sleep For A Bit In Async Code](javascript/sleep-for-a-bit-in-async-code.md) - [Sorting Arrays Of Objects With Lodash](javascript/sorting-arrays-of-objects-with-lodash.md) - [Splat Arguments To A Function](javascript/splat-arguments-to-a-function.md) diff --git a/javascript/show-description-of-all-npm-config-options.md b/javascript/show-description-of-all-npm-config-options.md new file mode 100644 index 0000000..752c885 --- /dev/null +++ b/javascript/show-description-of-all-npm-config-options.md @@ -0,0 +1,17 @@ +# Show Description Of All npm Config Options + +In [Open Global npm Config File](open-global-npm-config-file.md), I showed how +you can access and modify the current npm config. The thing that stands out in +that file is the sheer number of config options. + +What do they all mean? + +To get "more than you probably want to know about npm configuration", open up +the npm config help with the following command: + +```bash +$ npm help 7 config +``` + +There are a ton, so browse at your own peril. You'll notice that each option +lists its default value, the type of that value, and a description about usage.