diff options
author | Jack Vine <jackv24@users.noreply.github.com> | 2022-09-24 20:54:33 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 19:24:33 +0800 |
commit | 83680c97a7fd23d2a2953302771ed2b234c0689e (patch) | |
tree | ff0affb5ab524b24955a1793074150cac2572f2f /docs | |
parent | da0a9ec81132dabbec0d217d5f6a49550ce6793a (diff) | |
download | gitea-83680c97a7fd23d2a2953302771ed2b234c0689e.tar.gz gitea-83680c97a7fd23d2a2953302771ed2b234c0689e.zip |
NPM Package Registry search API endpoint (#20280)
Close #20098, in the NPM registry API, implemented to match what's described by https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md#get-v1search
Currently have only implemented the bare minimum to work with the [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui.html).
Co-authored-by: Jack Vine <jackv@jack-lemur-suse.cat-prometheus.ts.net>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/packages/npm.en-us.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/content/doc/packages/npm.en-us.md b/docs/content/doc/packages/npm.en-us.md index 122f306ee5..decb3f743c 100644 --- a/docs/content/doc/packages/npm.en-us.md +++ b/docs/content/doc/packages/npm.en-us.md @@ -127,6 +127,10 @@ npm dist-tag add test_package@1.0.2 release The tag name must not be a valid version. All tag names which are parsable as a version are rejected. +## Search packages + +The registry supports [searching](https://docs.npmjs.com/cli/v7/commands/npm-search/) but does not support special search qualifiers like `author:gitea`. + ## Supported commands ``` @@ -136,4 +140,5 @@ npm publish npm unpublish npm dist-tag npm view +npm search ``` |