Go to file
Tudor Stanciu ea62905a56 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
src 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
.gitignore 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
.npmrc added npmrc file 2023-03-29 18:51:35 +03:00
LICENSE 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
README.md 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
jestconfig.json 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
package-lock.json 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
package.json 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
tsconfig.json 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00
tslint.json 1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added. 2023-03-30 19:07:09 +03:00

README.md

js-utils

Introduction

js-utils is a collection of utilities that facilitate software development in a javascript environment.

Package installation

// with npm
npm i --save @flare/js-utils --registry https://lab.code-rove.com/public-node-registry

// with yarn
yarn add @flare/js-utils --registry https://lab.code-rove.com/public-node-registry

How to use the package

import { typeValidator, localStorage, camelizeKeys } from "@flare/js-utils";

Unit testing

Unit testing is done using Jest. This is an awesome testing framework created by Facebook.
The files containing tests are identified by the extension *.test.ts.
All tests in the package can be executed by running: npm test.

Changelog

1.0.0 - This version includes data type validators and local storage utils
1.0.1 - Set new domain in configs
1.0.2 - Utility functions export fix
1.0.3 - Typescript warnings fix
1.0.4 - Added "camelizeKeys" function
1.1.0 - The package has been migrated to TypeScript. Unit tests using Jest have also been added.