@dcat23/datatypes
v1.0.1
Published
Methods to extend JS data types
Downloads
4
Maintainers
Readme
JS Data Types Extended
The datatypes
package provides extended methods for various data types in JavaScript.
Installation
To use this package, you can install it from npm using the following command:
npm install @dcat23/datatypes
Usage
To use the extension methods in your project, you can import them like this:
import '@dcat23/datatypes';
console.log("hello world".mostCommon()) // l
This will add the extended methods to the prototype of their respective data type, making them globally available in your project.
If you want to make the extension methods available globally in your project, you can import the package in your project's main file (e.g. index.ts or main.js).
API
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
License
This package is MIT licensed.