@kodex-data/prototypes
v0.0.1-rc.7
Published
A library of TypeScript prototypes that extend built-in types in JavaScript, providing additional functionality to make development easier and more efficient. This library includes prototypes for working with big numbers, Ethereum Virtual Machine (EVM) fu
Downloads
3
Readme
@kodex-data/prototypes
@kodex-data/prototypes
is a library of TypeScript prototypes that extend built-in types in JavaScript, providing additional functionality to make development easier and more efficient. This library includes prototypes for working with big numbers, Ethereum Virtual Machine (EVM) functionality, content identifiers (CIDs), and dates.
Installation
You can install @kodex-data/prototypes
using either npm or yarn:
npm install @kodex-data/prototypes
or
yarn add @kodex-data/prototypes
Usage
To use @kodex-data/prototypes
, import the desired prototypes into your TypeScript file. For example, if you want to use prototypes for working with big numbers, EVM functionality, CIDs, and dates, you can use the following imports:
import '@kodex-data/big-prototypes'
import '@kodex-data/evm-prototypes'
import '@kodex-data/cid-prototypes'
import '@kodex-data/date-prototypes'
This will give you access to all of the prototypes included in the library for these types.
Prototypes
The prototypes included in @kodex-data/prototypes
are:
Big
: prototypes for working with big numbers.Evm
: prototypes for working with Ethereum Virtual Machine (EVM) functionality.Cid
: prototypes for working with content identifiers (CIDs).Date
: prototypes for working with dates.
Each of these types has specific functionality that can help simplify your development process. For more information on the individual prototypes, see the respective README
files for each sub-library (@kodex-data/big-prototypes
, @kodex-data/evm-prototypes
, @kodex-data/cid-prototypes
, @kodex-data/date-prototypes
).