sanack / node-jq

Node.js wrapper for jq
MIT License
277 stars 51 forks source link

`lib` folder is missing in version 4.0.0 #611

Closed ms-tng closed 1 year ago

ms-tng commented 1 year ago

In the package for version 4.0.0 published to NPM, the main field in package.json refers to lib/jq.js, but there is no lib folder in the published package. When importing const jq = require('node-jq') as described in the docs, you get an error saying that lib/jq.js cannot be found.

davesnx commented 1 year ago

Pushed a fix under 4.0.1 with the fix.

Sorry for the trouble.