JSPM

string-utils-demo

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q9158F
  • License MIT

A simple npm package providing handy string utility functions: capitalize, camelCase, kebabCase, and reverse.

Package Exports

  • string-utils-demo
  • string-utils-demo/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 (string-utils-demo) 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-demo

A simple npm package providing handy string utility functions: capitalize, camelCase, kebabCase, and reverse.

Installation

npm install string-utils-demo

Usage

const { capitalize, camelCase, kebabCase, reverse } = require('string-utils-demo');

console.log(capitalize('hello')); // 'Hello'
console.log(camelCase('hello world')); // 'helloWorld'
console.log(kebabCase('HelloWorld')); // 'hello-world'
console.log(reverse('hello')); // 'olleh'

Testing

npm test