git ssb

3+

cel / ssb-npm-registry



Commit 2558247ccda01cff45f814ea8a7f771698789515

Fix typos

cel committed on 5/17/2020, 11:51:21 PM
Parent: c395b27602e5cec624ed0664e8b8ae4fcfc7e563

Files changed

README.mdchanged
README.mdView
@@ -52,12 +52,13 @@
5252 ```
5353 - `config.npm.host`: hostname to listen on. default is "localhost"
5454 - `config.npm.port`: hostname to listen on. default is 8043
5555 - `config.npm.autoAuth`: whether to automatically update `~/.npmrc` to add
56 +auth information for the server which the npm client expects. default is `true`.
5657 - `config.npm.fetchAll`: whether to fetch blobs for all versions of a package,
5758 to populate package metadata, for a request to a `/<package>` path. Most npm
5859 clients require this. default is `true`
59-- `config.npm.needShasum`: whether to fetch always calculate and send package shasums. Default is `false` but will always calculate the shasum in response to a request from `npm < v5`
60 +- `config.npm.needShasum`: whether to always calculate and send package shasums. Default is `false` but will always calculate the shasum in response to a request from `npm < v5`
6061 - `config.npm.baseUrl`: URL of this ssb-npm-registry instance, such as in case it is being served behind a proxy. Default is to try to detect it for each HTTP request from the Host header or local socket address.
6162 - `config.npm.defaultPkgs`: Array of names (or `name@version` strings) of
6263 ssb-npm packages for the bootstrap snippet to install globally with `npm`.
6364 These are resolved to message ids when the snippet is served. Default: `["ssb-npm"]`

Built with git-ssb-web