tokenx
Fast token estimation with 95%+ average accuracy in a 2kB bundle
$
npm install tokenxOfficial docs outline
Extra Credit builds an outline of tokenx's docs the first time your work uses it. Until then, start at the official documentation.
More in npm packages
All 9,484-
@react-hook/passive-layout-effect A React hook that uses useEffect() on the server and useLayoutEffect() in the browser
-
@segment/analytics.js-video-plugins Add automatic Segment event tracking to popular video players.
-
globule An easy-to-use wildcard globbing library.
-
wouter Minimalist-friendly ~1.5KB router for React
-
jsonata JSON query and transformation language
-
@dnd-kit/abstract [](https://npm.im/@dnd-kit/abstract)
-
is-color-stop Check if a string is CSS color stop
-
glogg Global logging utility
-
vue-bundle-renderer Bundle Renderer for Vue 3.0
-
rc-switch switch ui component for react
-
uniqs Tiny utility to create unions and de-duplicated lists
-
mjml-image mjml-image