Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-04-26 02:47:13 +0400
committerisaacs <i@izs.me>2010-04-26 03:39:52 +0400
commitf85134fe2a92c840d05e84fb9ac74f061f27c33f (patch)
tree7adaa393e68d625f57c6a1668b40502a32b6d357 /README.md
parent87cfc2e1b6f9bd3138d5cd940cc32b76256c6f4d (diff)
refactor config doc
Diffstat (limited to 'README.md')
-rw-r--r--README.md92
1 files changed, 0 insertions, 92 deletions
diff --git a/README.md b/README.md
index 5e66642cf..a46d22c47 100644
--- a/README.md
+++ b/README.md
@@ -101,98 +101,6 @@ These are the commands that actually do things, as of today. If they don't do
what they say they do, then please [post an issue](http://github.com/isaacs/npm/issues)
about it.
-### config
-
-The config command is a way to interact with the `.npmrc` file. This file is a
-JSON encoded list of values that npm is concerned with. The first time you run
-npm, it will create a conf file filled with default values.
-
-On exit, the current state of the config is always saved, so that any changes
-will be recorded. You may safely modify the file (as long as it's still
-parseable JSON), but it is safer to use the npm config commands.
-
-Config supports the following sub-commands:
-
-#### set
-
- npm config set key value
-
-Sets the config key to the value.
-
-#### get
-
- npm config get key
-
-Echo the config value to stdout. (NOTE: All the other npm logging is done to
-stderr, so pipes should work properly, and you can do `npm get key 2>/dev/null`
-to print out JUST the config value.)
-
-#### list
-
- npm config list
-
-Show all the config settings.
-
-**FIXME**: Prints to stderr, but should really be stdout, since the log is what
-you're after.
-
-#### delete key
-
- npm config delete key
-
-Deletes the key from the configuration file.
-
-### publish
-
- npm publish http://host.com/path/to/tarball.tgz
-
-Publishes a tarball containing a package to the npm registry.
-
-When installation from the registry is supported, this will be much more
-relevant.
-
-### tag
-
- npm tag packagename 1.2.3 tagname
-
-Tags the specified version of "packagename" with the specified "tagname".
-
-The only tag with any special significance is "stable".
-
-When installation from the registry is supported, this will be much more
-relevant.
-
-## Config File Settings
-
-### auto-activate
-
-Default: true
-
-Automatically activate a package after installation, if there is not an active
-version already. Set to "always" to always activate when installing.
-
-### root
-
-Default: ~/.node_libraries
-
-The root folder where packages are installed and npm keeps its data.
-
-### registry
-
-Default: http://registry.npmjs.org/
-
-The base URL of the npm package registry.
-
-### auth
-
-A base-64 encoded "user:pass" pair.
-
-**FIXME**: This is not encoded in any kind of security sense. It's just base-64
-encoded strictly so that it can be sent along the wire with HTTP Basic
-authentication. An upcoming version of npm will encrypt this and save it back
-to the registry as `auth-crypt`, which will be quite a bit more secure. Until
-then, use a unique password that you don't mind being compromised.
-
## Package Lifecycle Scripts
npm supports the "scripts" member of the package.json script, for the