{"_id":"10-print-maze","name":"10-print-maze","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"name":"10-print-maze","version":"1.0.2","description":"A simple 10 PRINT maze generator. / 一個簡單的 10 PRINT 迷宮生成器。","keywords":["10-print","maze","generator","typescript","迷宮","生成器","create-by-yarn-tool","create-by-tsdx"],"homepage":"https://github.com/bluelovers/10-print-maze#readme","bugs":{"url":"https://github.com/bluelovers/10-print-maze/issues"},"repository":{"type":"git","url":"git+https://github.com/bluelovers/10-print-maze.git"},"license":"ISC","author":{"name":"bluelovers"},"sideEffects":false,"type":"commonjs","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs.development.cjs","import":"./dist/index.esm.mjs"},"./package.json":"./package.json","./src/*":"./src/*"},"main":"dist/index.cjs.development.cjs","unpkg":"dist/index.umd.production.min.cjs","module":"dist/index.esm.mjs","types":"dist/index.d.ts","typings":"dist/index.d.ts","scripts":{"review":"yarn run review:coverage","review:coverage":"yarn run lint && yarn run coverage","review:test":"yarn run lint && yarn run test","coverage":"yarn run test -- --coverage","lint":"yarn run lint:eslint","lint:eslint":"ynpx eslint --ext .ts,.tsx,.mts,.cts ./","pretest":"echo pretest","test":"yarn run test:jest","test:jest":"jest --passWithNoTests","test:jest:clearCache":"jest --clearCache","test:jest:coverage":"yarn run test:jest -- --coverage","test:jest:snapshot":"yarn run test:jest -- -u","test:mocha":"ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"","test:snapshot":"yarn run test -- -u","test:tsd":"ynpx tsd","test:tsdx":"ynpx @bluelovers/tsdx test --passWithNoTests","posttest":"yarn run build","install:frozenLockfile":"yarn-tool install --frozen-lockfile","install:resetLockfile":"yarn-tool install --reset-lockfile","build":"yarn run build:tsdx && yarn run build:dts:bundle","build:dts:bundle":"ynpx @bluelovers/dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle","build:dts:copy":"copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts","build:dts:tsc":"yarn run build:dts:tsc:emit && yarn run build:dts:copy","build:dts:tsc:emit":"tsc --emitDeclarationOnly --declaration --noEmit false","build:microbundle":"ynpx microbundle --target node","build:tsdx":"ynpx @bluelovers/tsdx build --target node --name index","ci:install":"yarn install --frozen-lockfile && yarn add -W yarn-tool lerna@6 ynpx ts-node ts-jest jest typescript@next @bluelovers/jest-config tsx","ci:build":"echo ci:build","npm:publish":"npm publish","npm:publish:bump":"yarn run version:bump && npm publish","npm:publish:bump:major":"yarn run version:bump:major && npm publish","npm:publish:bump:minor":"yarn run version:bump:minor && npm publish","npm:publish:bump:patch":"yarn run version:bump:patch && npm publish","npm:publish:bump:prerelease":"yarn run version:bump:prerelease && npm publish","ws:fix-all":"yarn-tool fix-all  --overwriteHostedGitInfo","ws:fix-all:resetStaticFiles":"yarn run ws:fix-all -- --resetStaticFiles","preversion":"echo preversion && yarn run test","version":"echo version","version:bump":"yarn-tool version","version:bump:major":"yarn run version:bump -- --bump major","version:bump:minor":"yarn run version:bump -- --bump minor","version:bump:patch":"yarn run version:bump -- --bump patch","version:bump:prerelease":"yarn run version:bump -- --bump prerelease","postversion":"echo postversion","prepublish":"echo prepublish","prepare":"echo prepare","prepublishOnly":"yarn run preversion","prepublishOnly:check-bin":"ynpx --quiet @yarn-tool/check-pkg-bin","prepack":"echo prepack","pack":"echo pack","postpack":"echo postpack","publish":"echo publish","postpublish":"yarn run postpublish:changelog && yarn run postpublish:git:commit && yarn run postpublish:git:tag && yarn run postpublish:git:push","postpublish:changelog":"ynpx --quiet @yarn-tool/changelog && git add ./CHANGELOG.md","postpublish:git:commit":"git commit -m \"chore(release): publish\" . & echo postpublish:git:commit","postpublish:git:push":"git push --follow-tags","postpublish:git:tag":"ynpx --quiet @yarn-tool/tag","postpublishOnly":"echo postpublishOnly","ncu":"yarn-tool ncu -u","sort-package-json":"yarn-tool sort","tsc:showConfig":"ynpx get-current-tsconfig -p"},"dependencies":{},"devDependencies":{"@bluelovers/tsconfig":"^1.0.35","@types/node":"^25.2.2","tslib":">=2"},"peerDependencies":{},"packageManager":"yarn@1.22.19","_id":"10-print-maze@1.0.2","gitHead":"c23e72292a7c41c2b4afb8c186c9182f33dc6263","_nodeVersion":"24.9.0","_npmVersion":"11.2.0","dist":{"integrity":"sha512-agWK1RkAC2uQlFuTM1h84NUxI8DRGPXLi2HN24+4dzNPF+MAXbHHgDaWFOcmj8avdbdbaxoNmdQPPZkqsEnyjA==","shasum":"97117c12bd301b5d86afdc36d7f0a62a4caf761c","tarball":"https://registry.npmjs.org/10-print-maze/-/10-print-maze-1.0.2.tgz","fileCount":15,"unpackedSize":20683,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCkK5VGO9KvstnWpZ5BJW8J1+KAfHGWvrvRaQ9yMFrdQwIgY6pWhEdwFE2TGlEtvKmlFHXU+8OWUnfJtn73PxeO/Ew="}]},"_npmUser":{"name":"bluelovers","email":"codelovers@users.sourceforge.net"},"directories":{},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/10-print-maze_1.0.2_1770665959621_0.857479803499019"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-09T19:39:19.620Z","1.0.2":"2026-02-09T19:39:19.772Z","modified":"2026-02-09T19:39:20.063Z"},"maintainers":[{"name":"bluelovers","email":"codelovers@users.sourceforge.net"}],"description":"A simple 10 PRINT maze generator. / 一個簡單的 10 PRINT 迷宮生成器。","homepage":"https://github.com/bluelovers/10-print-maze#readme","keywords":["10-print","maze","generator","typescript","迷宮","生成器","create-by-yarn-tool","create-by-tsdx"],"repository":{"type":"git","url":"git+https://github.com/bluelovers/10-print-maze.git"},"author":{"name":"bluelovers"},"bugs":{"url":"https://github.com/bluelovers/10-print-maze/issues"},"license":"ISC","readme":"# 10-print-maze\n\n> 10 PRINT 迷宮生成器 / 10 PRINT Maze Generator\n\n一個簡單的 [10 PRINT](https://10print.org/) 迷宮生成器，使用 TypeScript 實作。\nA simple [10 PRINT](https://10print.org/) maze generator implemented in TypeScript.\n\n## 安裝 / Install\n\n```bash\nyarn add 10-print-maze\nyarn-tool add 10-print-maze\npnpm add 10-print-maze\nnpm install 10-print-maze\n```\n\n## 使用方法 / Usage\n\n### TypeScript / ES Module\n\n```ts\nimport { mazeGenerator } from '10-print-maze';\n\n// 生成一個無限的迷宮生成器，每行 10 個字符\n// Create an infinite maze generator with 10 characters per line\nconst generator = mazeGenerator(10);\n\n// 生成 10 行迷宮\n// Generate 10 lines of maze\nfor (let i = 0; i < 10; i++) {\n  const row = generator.next().value;\n  console.log(row.join(''));\n}\n```\n\n### CommonJS\n\n```js\nconst { mazeGenerator } = require('10-print-maze');\n\nconst generator = mazeGenerator(20);\n\nconsole.log(generator.next().value.join(''));\n```\n\n## 關於 / About\n\n本專案基於經典的 Commodore 64 BASIC 單行程式：\nThis project is based on the classic Commodore 64 BASIC one-liner:\n\n```basic\n10 PRINT CHR$(205.5 + RND(1)); : GOTO 10\n```\n\n它會隨機列印 `╱` (U+2571) 或 `╲` (U+2572) 來組成迷宮般的圖案。\nIt randomly prints `╱` (U+2571) or `╲` (U+2572) to form a maze-like pattern.\n","readmeFilename":"README.md","_rev":"1-4a3ba244d28c4d9933e7d2adb3f36e47"}