{"_id":"@ascii-reveal/core","_rev":"2-35ce6b31eeae85ee5600aa99f58ff910","name":"@ascii-reveal/core","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@ascii-reveal/core","version":"0.1.0","keywords":["ascii","animation","text","scramble","accessible"],"license":"MIT","_id":"@ascii-reveal/core@0.1.0","maintainers":[{"name":"ahmetseha","email":"ahmetsehacar@gmail.com"}],"homepage":"https://github.com/ahmetseha/ascii-reveal#readme","bugs":{"url":"https://github.com/ahmetseha/ascii-reveal/issues"},"dist":{"shasum":"7e26f2dc8503d37b1f4908828d55bf2f26bfe466","tarball":"https://registry.npmjs.org/@ascii-reveal/core/-/core-0.1.0.tgz","fileCount":9,"integrity":"sha512-eQFSEEgZx4HJAkrmiNNX8RRYC9Oz4k6KGc/GhmFA+rRc8hlLXczTlIl8bl5cNy77+bxWlKm9q6FBdOYqX4VZCw==","signatures":[{"sig":"MEUCIQCibEPHwInNNCSrRtimrT14JubpMg45QRLjjyGxQ+rMGQIgRVdwKCsEjDwhsRa7XesP9oSfJzgBZ7tp258zp8pCC4k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55993},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmetseha","email":"ahmetsehacar@gmail.com"},"repository":{"url":"git+https://github.com/ahmetseha/ascii-reveal.git","type":"git","directory":"packages/core"},"description":"Framework-independent accessible ASCII text reveal animations.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1785674752015_0.6412693675313892","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ascii-reveal/core","version":"0.1.1","description":"Framework-independent accessible ASCII text reveal animations.","license":"MIT","engines":{"node":">=18"},"type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/ahmetseha/ascii-reveal.git","directory":"packages/core"},"homepage":"https://github.com/ahmetseha/ascii-reveal#readme","bugs":{"url":"https://github.com/ahmetseha/ascii-reveal/issues"},"keywords":["ascii","animation","text","scramble","accessible"],"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","typecheck":"tsc --noEmit","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""},"_nodeVersion":"22.22.2","_id":"@ascii-reveal/core@0.1.1","dist":{"integrity":"sha512-5AkuNLOSCANZFOo2VAqZJt0XtDYLlNs9FRQ7r+bLzLdPu5sCT5gK5aCL0QmMClTSfx9Usdy3GkP4UA5w04DbOA==","shasum":"958dda1ad370a58101eeea93b13c4a28117d8ef0","tarball":"https://registry.npmjs.org/@ascii-reveal/core/-/core-0.1.1.tgz","fileCount":9,"unpackedSize":57590,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFcy9v4N+WoHi+iN9/lNPYBWFlAvbYAyGot7U3hRqe0rAiEAmD9llYBPa1rF+yK+8zGnPyR3ayli6hspuuU2ULZ1zh4="}]},"_npmUser":{"name":"ahmetseha","email":"ahmetsehacar@gmail.com"},"directories":{},"maintainers":[{"name":"ahmetseha","email":"ahmetsehacar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.1_1785679707070_0.033442856621065165"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-02T12:45:51.847Z","modified":"2026-08-02T14:08:27.383Z","0.1.0":"2026-08-02T12:45:52.169Z","0.1.1":"2026-08-02T14:08:27.205Z"},"bugs":{"url":"https://github.com/ahmetseha/ascii-reveal/issues"},"license":"MIT","homepage":"https://github.com/ahmetseha/ascii-reveal#readme","keywords":["ascii","animation","text","scramble","accessible"],"repository":{"type":"git","url":"git+https://github.com/ahmetseha/ascii-reveal.git","directory":"packages/core"},"description":"Framework-independent accessible ASCII text reveal animations.","maintainers":[{"name":"ahmetseha","email":"ahmetsehacar@gmail.com"}],"readme":"# @ascii-reveal/core\n\nFramework-independent, accessible ASCII text reveal animations for JavaScript and TypeScript.\n\n## Install\n\n```sh\nnpm install @ascii-reveal/core\n```\n\n## Usage\n\n```ts\nimport { createAsciiReveal } from \"@ascii-reveal/core\";\n\nconst element = document.querySelector<HTMLElement>(\"h1\");\nif (!element) throw new Error(\"Heading not found\");\n\nconst reveal = createAsciiReveal(element, {\n  text: \"SYSTEM ONLINE\",\n  characters: \"ascii\",\n  trigger: \"manual\",\n  direction: \"left\",\n  duration: 700,\n});\n\ndocument.querySelector(\"button\")?.addEventListener(\"click\", () => {\n  reveal.play();\n});\n```\n\n`createAsciiReveal()` returns these controls:\n\n```ts\nreveal.play();\nreveal.reset();\nreveal.finish();\nreveal.update({ text: \"ACCESS GRANTED\", characters: \"binary\" });\nreveal.destroy();\n```\n\n## Options\n\n| Option       | Values                                           | Default  |\n| ------------ | ------------------------------------------------ | -------- |\n| `text`       | final text                                       | required |\n| `characters` | `ascii`, `binary`, `symbols`, or a custom string | `ascii`  |\n| `trigger`    | `mount`, `hover`, `focus`, `in-view`, `manual`   | `mount`  |\n| `direction`  | `left`, `right`, `center`, `random`              | `left`   |\n| `duration`   | milliseconds                                     | `700`    |\n| `delay`      | milliseconds                                     | `0`      |\n| `fps`        | animation frames per second                      | `30`     |\n| `replay`     | replay when triggered again                      | `true`   |\n| `seed`       | deterministic random seed                        | random   |\n\nSpaces are preserved and reduced-motion preferences are respected by default. The package is SSR-safe and supports both ESM and CommonJS.\n\nSee the [complete API](https://github.com/ahmetseha/ascii-reveal/blob/main/apps/docs/docs/api.md) and [project repository](https://github.com/ahmetseha/ascii-reveal).\n\nMIT licensed.\n","readmeFilename":""}