{"name":"encoding-sniffer","version":"0.2.0","description":"Implementation of the HTML encoding sniffer algo, with stream support","bugs":{"url":"https://github.com/fb55/encoding-sniffer/issues"},"repository":{"type":"git","url":"git://github.com/fb55/encoding-sniffer.git"},"funding":"https://github.com/fb55/encoding-sniffer?sponsor=1","license":"MIT","author":{"name":"Felix Boehm","email":"me@feedic.com"},"type":"module","exports":{".":{"import":{"source":"./src/index.ts","types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"source":"./src/index.ts","types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./sniffer":{"import":{"source":"./src/sniffer.ts","types":"./dist/esm/sniffer.d.ts","default":"./dist/esm/sniffer.js"},"require":{"source":"./src/sniffer.ts","types":"./dist/commonjs/sniffer.d.ts","default":"./dist/commonjs/sniffer.js"}}},"main":"./dist/commonjs/index.js","types":"./dist/commonjs/index.d.ts","scripts":{"build":"tshy","build:docs":"typedoc --hideGenerator src/index.ts","format":"npm run format:es && npm run format:prettier","format:es":"npm run lint:es -- --fix","format:prettier":"npm run prettier -- --write","lint":"npm run lint:es && npm run lint:prettier","lint:es":"eslint --ignore-path .gitignore .","lint:prettier":"npm run prettier -- --check","make-cjs":"sed -i '' 's/\"type\": \"module\"/\"type\": \"commonjs\"/g' package.json","make-esm":"sed -i '' 's/\"type\": \"commonjs\"/\"type\": \"module\"/g' package.json","prepublishOnly":"npm run build","prettier":"prettier '**/*.{ts,md,json,yml}'","test":"npm run test:jest && npm run lint","test:jest":"jest"},"prettier":{"proseWrap":"always","tabWidth":4},"jest":{"coverageProvider":"v8","moduleNameMapper":{"^(.*)\\.js$":["$1","$1.js"]},"preset":"ts-jest","testEnvironment":"node"},"dependencies":{"iconv-lite":"^0.6.3","whatwg-encoding":"^3.1.1"},"devDependencies":{"@types/jest":"^29.5.12","@types/node":"^20.14.2","@types/whatwg-encoding":"^2.0.3","@typescript-eslint/eslint-plugin":"^7.13.0","@typescript-eslint/parser":"^7.13.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-n":"^17.9.0","eslint-plugin-unicorn":"^54.0.0","jest":"^29.7.0","prettier":"^3.3.2","ts-jest":"^29.1.4","tshy":"^1.15.1","typedoc":"^0.25.13","typescript":"^5.4.5"},"tshy":{"exports":{".":"./src/index.ts","./sniffer":"./src/sniffer.ts"},"exclude":["src/**/*.spec.ts"]},"_id":"encoding-sniffer@0.2.0","gitHead":"c760946e2adee4c4aa91b540cd3cd9009efb7248","homepage":"https://github.com/fb55/encoding-sniffer#readme","_nodeVersion":"22.2.0","_npmVersion":"10.8.1","dist":{"shasum":"799569d66d443babe82af18c9f403498365ef1d5","size":23549,"noattachment":false,"key":"/encoding-sniffer/-/encoding-sniffer-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/encoding-sniffer/download/encoding-sniffer-0.2.0.tgz"},"_npmUser":{"name":"feedic","email":"me@feedic.com"},"directories":{},"maintainers":[{"name":"feedic","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encoding-sniffer_0.2.0_1718550596461_0.8052058724420801"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-16T15:09:56.610Z","publish_time":1718550596610,"_source_registry_name":"default","_cnpm_publish_time":1718550596610,"dist-tags":{"latest":"0.2.1"}}