@ssdcode/js-mutators

0.1.4 • Public • Published

JS Mutators

Set of methods providing functionality to mutate the given value.

Installation

npm install @ssdcode/js-mutators --save-dev

Import relevant methods using ES6 import statement

import { toUpperCase, toLowerCase, slug } from 'js-mutators';

Available methods


toUpperCase

Converts string to uppercase. See String.prototype.toUpperCase()


toLowerCase

Converts string to lowercase. See String.prototype.toLowerCase()


slug

Converts string to lower case, hyphen concatenated slug.


Tests

You can execute tests by calling

npm run test

Contributions

Contributions are welcome - please make sure all PRs have their associated test.

Readme

Keywords

Package Sidebar

Install

npm i @ssdcode/js-mutators

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

6.5 kB

Total Files

11

Last publish

Collaborators

  • sebastiansulinski