mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add Show Description Of All npm Config Options as a JavaScript TIL
This commit is contained in:
@@ -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).
|
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)
|
- [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)
|
- [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)
|
- [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)
|
- [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)
|
- [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)
|
- [Splat Arguments To A Function](javascript/splat-arguments-to-a-function.md)
|
||||||
|
|||||||
17
javascript/show-description-of-all-npm-config-options.md
Normal file
17
javascript/show-description-of-all-npm-config-options.md
Normal file
@@ -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.
|
||||||
Reference in New Issue
Block a user