{"library":"liststyletype-formatter","type":"library","category":null,"description":"JavaScript number formatter that converts integers to CSS list-style-type representations (e.g., decimal, lower-roman, upper-alpha, armenian, cjk-ideographic). Version 1.0.0, last updated in 2017. Supports all standard CSS list-style-type values plus many national/regional variants. Unlike CSS-only solutions, it works in JavaScript environments (Node.js or browser) for use in dynamic content generation, PDFs, or non-HTML contexts. The library provides a single function `format()` taking a number and a style string, returning the formatted string. It has no dependencies and is lightweight. However, it is no longer actively maintained (no updates since 2017).","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","number formatter","list-style-type","list-style-type in JavaScript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install liststyletype-formatter","imports":["var ListStyleTypeFormatter = require('liststyletype-formatter');","const { format } = require('liststyletype-formatter');","const ListStyleTypeFormatter = require('liststyletype-formatter');\nListStyleTypeFormatter.format(1234, 'lower-roman');"]},{"cmd":"yarn add liststyletype-formatter","imports":[]},{"cmd":"pnpm add liststyletype-formatter","imports":[]}],"homepage":"https://github.com/matthias-christen/liststyletype-formatter#readme","github":"git://github.com/matthias-christen/liststyletype-formatter","docs":null,"changelog":null,"pypi":null,"npm":"liststyletype-formatter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}