{"dist":{"shasum":"877f847afa8ea6a268d530a214369cfa0475dde1","tarball":"https://registry.npmjs.org/@chenglou/pretext/-/pretext-0.0.3.tgz","fileCount":42,"integrity":"sha512-RQmqMqUAPRCyv4R3LlRi/ao6KbNWYclqLA+V1HS7sWgyUUbjn3JmmlfXZSY/BjM4rbmIaMSyIVisYocYGYftiQ==","signatures":[{"sig":"MEUCIQDWQl4uYQo5aXiyrqR/eEyZtbzcXIdMtoMUKXjzlXjYgAIgOA+bCd+vpdDyun7FyxoZp1fCS02gOk/YFbKCVHpvICo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":641608},"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":"19451bcdbdf597e3c92183393eaf7e2f3406c7b4","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","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","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","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.3_1774776912435_0.04257439531458229","host":"s3://npm-registry-packages-npm-production"},"_id":"@chenglou/pretext@0.0.3","version":"0.0.3"}