normalize-data-lib
v1.0.7
Published
A utility library for normalizing strings, arrays, and objects.
Downloads
281
Readme
Normalize Data Lib
A utility library for normalizing strings, arrays, and objects.
Installation
npm install normalize-data-lib
Usage
Basic usage is really simple. You call the function that normalize-package-data exports. Let's call it normalizeData
.
const { normalizeData } = require('normalize-data-lib');
const result = normalizeData("Hello World - Example", "_");
console.log(result); // Outputs: "hello_world_example"
// Data is now normalized