Suggestion: let the API accept a JSON object
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 238
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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 = {})
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.