0.1.8 • Published 10 months ago

type_conversions v0.1.8

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

Conversions

DevOps By Rultor.com

npm Hits-of-Code

Project architect: @hizmailovich

JavaScript library that provides advanced data transformation functions.

The library should include the following features: 1. addValues - accepts two arguments of any type and performs the appropriate addition operation based on the types of the arguments. 2. stringifyValue - accepts a single argument of any type and converts it to a string representation. 3. invertBoolean - accepts a single boolean argument and returns its inverted value. 4. convertToNumber - accepts a single argument of any type and attempts to convert it to a number. 5. coerceToType - accepts two arguments: value and type and attempts to convert the value to the specified type using type coercion.

How to Install

npm install conversion

How to Contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full npm build:

$ npm run ci

You will need npm 9+ and Node.js 18.16.0+.

Our rultor image for CI/CD.

0.1.8

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago