0.3.0 • Published 6 years ago

case-dot v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

case-dot NPM version Build Status Dependency Status Coverage percentage

Parse and stringify strings delimited by a dot

Installation

$ npm install --save case-dot

Usage

const caseDot = require("case-dot");

// Parse
caseDot.parse("this.is.an.example"); // ['this', 'is', 'an', 'example']

// Stringify
caseDot.stringify(["this", "is", "an", "example"]); // 'this.is.an.example'

// Check
caseDot.is("this.is.an.example"); // True
caseDot.is("this_is_an_example"); // False
caseDot.is("thisIsAnExample"); // False
caseDot.is("this"); // False

License

MIT © Malte-Maurice Dreyer

0.3.0

6 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.0

9 years ago