{"dist":{"shasum":"6f9b955f406acd7160d5531adb4c20ec9917b0fb","tarball":"https://registry.npmjs.org/@chenglou/pretext/-/pretext-0.0.4.tgz","fileCount":47,"integrity":"sha512-FnPAFMid1/p1j2V2gRPUVBarGUIb2PhkkC9YNnTOfPtTDgHKh8siO8PP9pCxpFfYlcodWPJpE1UbSHGQqt8pQQ==","signatures":[{"sig":"MEQCIDA/5EfWPdteXwoTbJhEz5mtZR0nkiBsfwA3YPW45kcuAiBEE2ZzUT4TSDNlTJ+NbY1mT4z+YF8UAPkwxofSlpq2uQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":693392},"main":"./dist/layout.js","name":"@chenglou/pretext","type":"module","types":"./dist/layout.d.ts","exports":{".":{"types":"./dist/layout.d.ts","import":"./dist/layout.js","default":"./dist/layout.js"},"./demos/*":"./pages/demos/*","./assets/*":"./pages/assets/*","./package.json":"./package.json"},"gitHead":"4e7139033640e09a299b06c240981eadb5894d74","license":"MIT","scripts":{"check":"tsc && oxlint --type-aware src","start":"HOST=${HOST:-127.0.0.1}; PORT=3000; pids=$(lsof -tiTCP:$PORT -sTCP:LISTEN 2>/dev/null); if [ -n \"$pids\" ]; then echo \"Freeing port $PORT: terminating $pids\"; kill $pids 2>/dev/null || true; sleep 1; pids=$(lsof -tiTCP:$PORT -sTCP:LISTEN 2>/dev/null); if [ -n \"$pids\" ]; then echo \"Port $PORT still busy: killing $pids\"; kill -9 $pids 2>/dev/null || true; fi; fi; bun pages/*.html pages/demos/*.html pages/demos/*/index.html --host=$HOST:$PORT","prepack":"rm -rf dist && tsc -p tsconfig.build.json","start:lan":"HOST=0.0.0.0 bun run start","site:build":"rm -rf site && bun run scripts/build-demo-site.ts","probe-check":"bun run scripts/probe-check.ts","start:watch":"HOST=${HOST:-127.0.0.1}; PORT=3000; pids=$(lsof -tiTCP:$PORT -sTCP:LISTEN 2>/dev/null); if [ -n \"$pids\" ]; then echo \"Freeing port $PORT: terminating $pids\"; kill $pids 2>/dev/null || true; sleep 1; pids=$(lsof -tiTCP:$PORT -sTCP:LISTEN 2>/dev/null); if [ -n \"$pids\" ]; then echo \"Port $PORT still busy: killing $pids\"; kill -9 $pids 2>/dev/null || true; fi; fi; bun pages/*.html pages/demos/*.html pages/demos/*/index.html --watch --no-clear-screen --host=$HOST:$PORT","corpus-check":"bun run scripts/corpus-check.ts","corpus-sweep":"bun run scripts/corpus-sweep.ts","gatsby-check":"bun run scripts/gatsby-check.ts","gatsby-sweep":"bun run scripts/gatsby-sweep.ts","build:package":"rm -rf dist && tsc -p tsconfig.build.json","corpus-status":"bun run scripts/corpus-status.ts","accuracy-check":"bun run scripts/accuracy-check.ts","pre-wrap-check":"bun run scripts/pre-wrap-check.ts","benchmark-check":"bun run scripts/benchmark-check.ts","corpus-taxonomy":"bun run scripts/corpus-taxonomy.ts","status-dashboard":"bun run scripts/status-dashboard.ts","accuracy-snapshot":"bun run scripts/accuracy-check.ts --full --output=accuracy/chrome.json","corpus-font-matrix":"bun run scripts/corpus-font-matrix.ts","package-smoke-test":"bun run scripts/package-smoke-test.ts","probe-check:safari":"PROBE_CHECK_BROWSER=safari bun run scripts/probe-check.ts","corpus-check:safari":"CORPUS_CHECK_BROWSER=safari bun run scripts/corpus-check.ts","corpus-sweep:safari":"CORPUS_CHECK_BROWSER=safari bun run scripts/corpus-sweep.ts","gatsby-check:safari":"GATSBY_CHECK_BROWSER=safari bun run scripts/gatsby-check.ts","gatsby-sweep:safari":"GATSBY_CHECK_BROWSER=safari bun run scripts/gatsby-sweep.ts","accuracy-check:safari":"ACCURACY_CHECK_BROWSER=safari bun run scripts/accuracy-check.ts","corpus-representative":"bun run scripts/corpus-representative.ts --output=corpora/representative.json","corpus-status:refresh":"bun run scripts/corpus-representative.ts --output=corpora/representative.json && bun run scripts/corpus-sweep.ts --all --samples=9 --output=corpora/chrome-sampled.json && bun run scripts/corpus-sweep.ts --all --start=300 --end=900 --step=10 --output=corpora/chrome-step10.json && bun run scripts/corpus-status.ts","accuracy-check:firefox":"ACCURACY_CHECK_BROWSER=firefox bun run scripts/accuracy-check.ts","benchmark-check:safari":"BENCHMARK_CHECK_BROWSER=safari bun run scripts/benchmark-check.ts","accuracy-snapshot:safari":"ACCURACY_CHECK_BROWSER=safari bun run scripts/accuracy-check.ts --full --output=accuracy/safari.json","accuracy-snapshot:firefox":"ACCURACY_CHECK_BROWSER=firefox bun run scripts/accuracy-check.ts --full --output=accuracy/firefox.json","corpus-font-matrix:safari":"CORPUS_CHECK_BROWSER=safari bun run scripts/corpus-font-matrix.ts"},"_npmUser":{"name":"chenglou","email":"chenglou92@gmail.com"},"_npmVersion":"10.9.2","description":"Pure JavaScript/TypeScript library for multiline text measurement & layout. Fast, accurate & supports all the languages you didn't even know about. Allows rendering to DOM, Canvas, SVG and soon, server-side.","directories":{},"maintainers":[{"name":"chenglou","email":"chenglou92@gmail.com"}],"_nodeVersion":"23.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"oxlint":"^1.51.0","tsgolint":"^0.0.1","@types/bun":"latest","typescript":"6.0.2","oxlint-tsgolint":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/pretext_0.0.4_1775067857522_0.8105399379773799","host":"s3://npm-registry-packages-npm-production"},"_id":"@chenglou/pretext@0.0.4","version":"0.0.4"}