Package Exports
- @kurodev/string-utils-kuro
- @kurodev/string-utils-kuro/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kurodev/string-utils-kuro) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
string-utils-KuroDev ✨
Lightweight utility functions for working with strings.
Installation
npm install @tonpseudo/string-utils-KuroDevUsage
import { capitalize, kebabCase, truncate } from '@tonpseudo/string-utils-KuroDev';
capitalize('hello'); // 'Hello'
kebabCase('Hello World'); // 'hello-world'
truncate('This is a long text', 10); // 'This is a ...'License
MIT