Skip to content

Commit

Permalink
docs: fix readme typo (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu authored Sep 5, 2023
1 parent 26705c5 commit ea00495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ included then the default is `latest`.

### var purl = npa.toPurl(*arg*, *reg*)

Returns the [purl (package URL)](https://github.com/package-url/purl-spec) form of the given pacakge name/spec.
Returns the [purl (package URL)](https://github.com/package-url/purl-spec) form of the given package name/spec.

* *arg* - A package/version string. For example: `foo@1.0.0` or `@bar/foo@2.0.0-alpha.1`.
* *reg* - Optionally the URL to the package registry. If not specified, assumes the default
Expand Down

0 comments on commit ea00495

Please sign in to comment.