{"_id":"@emahuni/directus-extension-numberflow.display","name":"@emahuni/directus-extension-numberflow.display","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@emahuni/directus-extension-numberflow.display","description":"A Directus extension that displays a Number Flow component.","version":"0.1.0","author":{"name":"Emmanuel Mahuni","email":"emahuni@gmail.com"},"contributors":[{"name":"Emmanuel Mahuni","email":"emahuni@gmail.com"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/emahuni/directus-extension-numberflow-display.git"},"bugs":{"url":"https://github.com/emahuni/directus-extension-numberflow-display/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"homepage":"https://github.com/emahuni/directus-extension-numberflow-display","icon":"extension","keywords":["numberflow","directus","directus-extension","directus-extension-display"],"type":"module","directus:extension":{"type":"display","path":"dist/index.js","source":"src/index.ts","host":"^10.10.0 || ^11.0.0"},"dependencies":{"currency.js":"^2.0.4","numbro":"^2.5.0"},"devDependencies":{"@directus/extensions-sdk":"16.0.1","@directus/types":"^13.2.2","sass":"^1.92.1","typescript":"^5.9.2","vue":"^3.5.21"},"scripts":{"build":"pnpm run types:check && directus-extension build","dev":"directus-extension build -w --no-minify","link":"directus-extension link","validate":"directus-extension validate","types:check":"tsc --noEmit"},"_id":"@emahuni/directus-extension-numberflow.display@0.1.0","_integrity":"sha512-/Xd0W8Js1GSXoQSdGgV8GmbhuhO+d5f3EC/tXGw7qVokFLKUFqLbZU7HnTgly+G3EnezkGEva2LR8vZqeWUoeQ==","_resolved":"/private/var/folders/h0/bp0k5841625b156m7rhxrqbh0000gn/T/b430141e938192251ecb5bb131a24fe7/emahuni-directus-extension-numberflow.display-0.1.0.tgz","_from":"file:emahuni-directus-extension-numberflow.display-0.1.0.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-/Xd0W8Js1GSXoQSdGgV8GmbhuhO+d5f3EC/tXGw7qVokFLKUFqLbZU7HnTgly+G3EnezkGEva2LR8vZqeWUoeQ==","shasum":"74e86cb1548005ebec7eb1ac1b97f084861fa8c8","tarball":"https://registry.npmjs.org/@emahuni/directus-extension-numberflow.display/-/directus-extension-numberflow.display-0.1.0.tgz","fileCount":3,"unpackedSize":196085,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDtlDfQ9ftqo3XfqDWw/wFUSWNbLpCqpHlHmiEFr4ALcAIgBgxDKoDGDizkgvW39Rs41FURBgKrB9BLMOFbJV9Hgv0="}]},"_npmUser":{"name":"emahuni","email":"emahuni@gmail.com"},"directories":{},"maintainers":[{"name":"emahuni","email":"emahuni@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/directus-extension-numberflow.display_0.1.0_1757706504613_0.8713816938226344"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-12T19:48:24.505Z","0.1.0":"2025-09-12T19:48:24.792Z","modified":"2025-09-12T19:48:25.095Z"},"maintainers":[{"name":"emahuni","email":"emahuni@gmail.com"}],"description":"A Directus extension that displays a Number Flow component.","homepage":"https://github.com/emahuni/directus-extension-numberflow-display","keywords":["numberflow","directus","directus-extension","directus-extension-display"],"repository":{"type":"git","url":"git+https://github.com/emahuni/directus-extension-numberflow-display.git"},"contributors":[{"name":"Emmanuel Mahuni","email":"emahuni@gmail.com"}],"author":{"name":"Emmanuel Mahuni","email":"emahuni@gmail.com"},"bugs":{"url":"https://github.com/emahuni/directus-extension-numberflow-display/issues"},"license":"MIT","readme":"# Number Flow Display\n\nA Directus extension that displays a animated number flow component with extensive formatting options powered by [Numbro.js](https://numbrojs.com/).\n\nScreenshot:\n![screenshot](https://raw.githubusercontent.com/daltonsutton/directus-extension-numberflow/main/screenshots/numberflow.gif)\n\n## Features\n\n*   **Animated Number Flow**: Smoothly animates number changes.\n*   **Prefix & Suffix**: Add text before or after the number.\n*   **Icon**: Display an icon before the number.\n*   **Customizable Animation**: Control the animation duration and transition speed.\n*   **Advanced Formatting**: Use [Numbro.js](https://numbrojs.com/) for advanced number formatting, including:\n    *   Thousand separators\n    *   Mantissa (decimal places)\n    *   Optional mantissa\n    *   Trim mantissa\n    *   Average (e.g., 1.5k)\n    *   Space separated\n    *   Negative number formatting (sign or parenthesis)\n    *   Force sign display\n    *   Output as number, percent, currency, time, ordinal, or bytes.\n    *   And more...\n\n## Installation\n\n1.  Go to the **Settings** module in your Directus project.\n2.  Navigate to the **Marketplace**.\n3.  Search for `Number Flow` and click the **Install** button.\n\nAlternatively, you can install the extension manually:\n\n1.  Navigate to your Directus project's api directory.\n2.  Run the command: `pnpm add @emahuni/directus-extension-numberflow.display`\n3.  Restart your Directus instance.\n\nYou should be able to use the display extension in your project.\n\n## Author\n\nEmmanuel Mahuni\nhttps://github.com/emahuni\n\nInspired by the incredible work of [directus-extension-number-flow](https://raw.githubusercontent.com/daltonsutton/directus-extension-numberflow).","readmeFilename":"README.md","_rev":"1-fbc911c7583f524286867b7a83347635"}