Suggestion: let the API accept a JSON object
Open
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
If a `package.json` has already been parsed, it doesn't make sense to then have `pkg-ok` do it again:
```ts
// Override
function pkgOk(pkg: PackageJson, { fields = [], bin = [] }: Options = {})
```
Or maybe even from a string too:
```ts
function pkgOk(pkg: string, { fields = [], bin = [] }: Options = {})
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.