{"name":"cjs-module-lexer","version":"2.2.0","description":"Lexes CommonJS modules, returning their named exports metadata","main":"lexer.js","exports":{"import":{"types":"./lexer.d.mts","default":"./dist/lexer.mjs"},"default":"./lexer.js"},"types":"lexer.d.ts","scripts":{"test-js":"cross-env NODE_OPTIONS=--disallow-code-generation-from-strings mocha -b -u tdd test/*.js","test-wasm":"cross-env WASM=1 NODE_OPTIONS=--disallow-code-generation-from-strings mocha -b -u tdd test/*.js","test-wasm-sync":"cross-env WASM_SYNC=1 NODE_OPTIONS=--disallow-code-generation-from-strings mocha -b -u tdd test/*.js","test":"npm run test-wasm && npm run test-wasm-sync && npm run test-js","bench":"node --expose-gc bench/index.mjs","build":"node build.js ; babel dist/lexer.mjs -o dist/lexer.js ; terser dist/lexer.js -o dist/lexer.js","build-wasm":"make lib/lexer.wasm ; node build.js","prepublishOnly":"make && npm run build","footprint":"npm run build && cat dist/lexer.js | gzip -9f | wc -c"},"author":{"name":"Guy Bedford"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/plugin-transform-modules-commonjs":"^7.5.0","cross-env":"^7.0.3","kleur":"^2.0.2","mocha":"^9.1.3","terser":"^4.1.4"},"repository":{"type":"git","url":"git+https://github.com/nodejs/cjs-module-lexer.git"},"bugs":{"url":"https://github.com/nodejs/cjs-module-lexer/issues"},"homepage":"https://github.com/nodejs/cjs-module-lexer#readme","_id":"cjs-module-lexer@2.2.0","gitHead":"cb772facaab04a64deced6161b5c0efec683189f","_nodeVersion":"24.7.0","_npmVersion":"11.5.1","dist":{"shasum":"b3ca5101843389259ade7d88c77bd06ce55849ca","size":46214,"noattachment":false,"key":"/cjs-module-lexer/-/cjs-module-lexer-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cjs-module-lexer/download/cjs-module-lexer-2.2.0.tgz"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"mhdawson1","email":"mdawson@devrus.com"},{"name":"nodejs-foundation","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cjs-module-lexer_2.2.0_1767382826916_0.9253724977544648"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-02T19:40:27.050Z","publish_time":1767382827050,"_source_registry_name":"default","_cnpm_publish_time":1767382827050,"dist-tags":{"latest":"2.2.0"}}