{"bugs":{"url":"https://github.com/PostHog/posthog-js/issues"},"dist":{"shasum":"43c305cf128a1020adabbcfcf95763becbb7559c","tarball":"https://registry.npmjs.org/posthog-js/-/posthog-js-1.256.0.tgz","fileCount":524,"integrity":"sha512-LJSj4VcuLQGlsk4aQDOydx+oSj5+nlXHvHPDcAmzLucfoJEUi5CmluUU78V5+MwswoUHYZdGf5TPae3EXQk3FQ==","signatures":[{"sig":"MEMCHyjb+zW3BPEkxkJD5BxoeW4RGkT4dkAgGRtAa92eRiYCIHIwQtHHy33NUeOoAdIEU6Ju9OyhVbuR4G51uB46qwdF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22867279},"main":"dist/main.js","name":"posthog-js","_from":"file:posthog-js-1.256.0.tgz","types":"dist/module.d.ts","author":{"name":"hey@posthog.com"},"module":"dist/module.js","license":"SEE LICENSE IN LICENSE","scripts":{"lint":"eslint src && eslint playwright && eslint react","test":"pnpm test:unit && pnpm test:functional","build":"pnpm build-rollup && pnpm build-lib && pnpm build-react","start":"pnpm build-react && NODE_OPTIONS=\"--max-old-space-size=8192\" pnpm build-rollup -w","lint:fix":"eslint src --fix && eslint playwright --fix && eslint react --fix","prettier":"prettier --write src/ functional_tests/ playwright/","build-lib":"rm -rf lib && tsc -b tsconfig.lib.json","test:unit":"jest src","typecheck":"tsc --noEmit --project tsconfig.json","playwright":"pnpm exec playwright test --project webkit --project firefox --project chromium","test-watch":"jest --watch src","test:react":"cd react; pnpm test","build-react":"cd react; NODE_ENV=dev pnpm i; pnpm build;","build-rollup":"rm -rf lib && tsc -b && rollup -c --bundleConfigAsCjs","playwright-ui":"pnpm exec playwright test --ui --project webkit --project firefox --project chromium","prettier:check":"prettier --check src/ functional_tests/ playwright/","test:typecheck":"cd src/__tests__ && tsc --noEmit --project tsconfig.json","test:functional":"jest functional_tests","test:unit:surveys":"jest '.*surveys.*.test.'","playwright:surveys":"pnpm exec playwright test playwright/surveys/* --project webkit --project firefox --project chromium","playwright-webserver":"npx http-server ./ -p 8082","playwright:surveys:ui":"pnpm exec playwright test playwright/surveys/* --ui --project webkit --project firefox --project chromium","check-testcafe-results":"ts-node testcafe/check-testcafe-results.js","deprecate-old-versions":"node scripts/deprecate-old-versions.mjs","run-testcafe-localhost":"node scripts/run-testcafe-localhost.mjs","test:custom-eslint-rules":"jest eslint-rules","write-mangled-property-names":"WRITE_MANGLED_PROPERTIES=1 pnpm build-rollup"},"_npmUser":{"name":"timgl","actor":{"name":"timgl","type":"user","email":"tim@posthog.com"},"email":"tim@posthog.com"},"homepage":"https://posthog.com/docs/libraries/js","_resolved":"/tmp/a3eea58d582f19d2911997964cf8ee6b/posthog-js-1.256.0.tgz","_integrity":"sha512-LJSj4VcuLQGlsk4aQDOydx+oSj5+nlXHvHPDcAmzLucfoJEUi5CmluUU78V5+MwswoUHYZdGf5TPae3EXQk3FQ==","repository":{"url":"git+https://github.com/PostHog/posthog-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Posthog-js allows you to automatically capture usage and send events to PostHog.","directories":{},"maintainers":[{"name":"timgl","email":"tim@posthog.com"}],"_nodeVersion":"18.20.8","browserslist":["> 0.5%, last 2 versions, Firefox ESR, not dead, IE 11"],"dependencies":{"fflate":"^0.4.8","preact":"^10.19.3","core-js":"^3.38.1","web-vitals":"^4.2.4"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^1.3.3","jest":"^27.5.1","husky":"^8.0.1","jsdom":"16.5.0","sinon":"9.0.2","tslib":"^2.5.0","yargs":"^17.7.2","expect":"^29.7.0","rollup":"^4.28.1","cssnano":"^7.0.7","postcss":"^8.5.3","ts-node":"^10.9.2","date-fns":"^3.6.0","prettier":"^3.4.2","testcafe":"1.19.0","@types/web":"^0.0.222","babel-jest":"^26.6.3","fast-check":"^2.17.0","node-fetch":"^2.6.11","posthog-js":"link:","typescript":"^5.5.4","@babel/core":"7.27.1","@types/jest":"^27.5.2","@types/node":"^22.5.0","http-server":"14.1.1","@rrweb/types":"2.0.0-alpha.17","@types/sinon":"^17.0.1","browserslist":"^4.24.5","jsdom-global":"3.0.2","localStorage":"1.0.4","@jest/globals":"^27.5.1","@rrweb/record":"2.0.0-alpha.17","@sentry/types":"8.7.0","postcss-import":"^16.1.0","postcss-nesting":"^13.0.1","@playwright/test":"^1.52.0","@types/react-dom":"^18.0.10","compare-versions":"^6.1.0","@babel/preset-env":"7.27.2","rollup-plugin-dts":"^6.1.1","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","@posthog/rrweb-types":"^0.0.13","@rollup/plugin-babel":"^6.0.4","@testing-library/dom":"^9.3.0","@posthog/rrweb-record":"^0.0.13","@rollup/plugin-terser":"^0.4.4","rollup-plugin-postcss":"^4.0.2","jest-environment-jsdom":"^27.5.1","@rollup/plugin-commonjs":"^28.0.1","@testing-library/preact":"^3.2.4","preact-render-to-string":"^6.3.1","@babel/preset-typescript":"^7.27.1","rollup-plugin-visualizer":"^5.12.0","@rollup/plugin-typescript":"^12.1.2","@testing-library/jest-dom":"^6.5.0","@rollup/plugin-node-resolve":"^16.0.0","@babel/plugin-syntax-decorators":"^7.27.1","@babel/plugin-transform-react-jsx":"^7.27.1","@rrweb/rrweb-plugin-console-record":"2.0.0-alpha.17","@posthog/rrweb-plugin-console-record":"^0.0.13","testcafe-browser-provider-browserstack":"1.14.0","@babel/plugin-transform-exponentiation-operator":"^7.27.1","@babel/plugin-transform-nullish-coalescing-operator":"^7.27.1"},"peerDependencies":{"@rrweb/types":"2.0.0-alpha.17","rrweb-snapshot":"2.0.0-alpha.17"},"peerDependenciesMeta":{"@rrweb/types":{"optional":true},"rrweb-snapshot":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/posthog-js_1.256.0_1751309596245_0.37412374736743437","host":"s3://npm-registry-packages-npm-production"},"_id":"posthog-js@1.256.0","version":"1.256.0"}