Skip to content

Commit

Permalink
docs: fix typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 8, 2024
1 parent 4be2987 commit d2c96f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For example:
```typescript
import * as npm from '@npm/types';

fetch('https://registry.npmjs.org/cookie)
fetch('https://registry.npmjs.org/cookie')
.then((res) => res.json())
.then((obj: npm.Packument) => {
// `obj` has proper registry types!
Expand All @@ -31,4 +31,5 @@ Response type for the `https://registry.npmjs.org/:packageName/:packageVersion`
### PackageJSON
A "loose" definition of the "package.json" file type.

> [!NOTE] This is not an authoritative definition of package.json structures. It is merely a best-effort attempt to define the fields that may appear in `PackumentVersion` structures, are copied from a module's package.json file.
> [!NOTE]
> This is not an authoritative definition of package.json structures. It is merely a best-effort attempt to define the fields that may appear in `PackumentVersion` structures, are copied from a module's package.json file.

0 comments on commit d2c96f8

Please sign in to comment.