JSPM

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

Dot case a string

Package Exports

  • dot-case

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 (dot-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Dot Case

NPM version NPM downloads Build status Test coverage

Dot case a string.

Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

Installation

npm install dot-case --save

Usage

var dotCase = require('dot-case');

dotCase('string');        //=> "string"
dotCase('camelCase');     //=> "camel.case"
dotCase('sentence case'); //=> "sentence.case"

dotCase('MY STRING', 'tr'); //=> "my.strıng"

License

MIT