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.
In the package for version 4.0.0 published to NPM, the
main
field inpackage.json
refers tolib/jq.js
, but there is nolib
folder in the published package. When importingconst jq = require('node-jq')
as described in the docs, you get an error saying thatlib/jq.js
cannot be found.