@dcat23/datatypes
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i @dcat23/datatypes

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

1.87 kB

Total Files

2

Last publish

Collaborators

  • dcat23