@aamirtech/utils
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

aamirtech

@aamirtech/utils

GitHub license Maintainer Downloads Npm package version

Library packed with your basic code utils.

Documentation

The documentation is available at aamir.tech.

Installation

Install with npm

  npm install @aamirtech/utils

Install with yarn

  yarn add @aamirtech/utils

Install with bun

  bun add @aamirtech/utils

Usage

Simple Snowflake Generation

import { Id } from "@aamirtech/utils";

console.log(Snowflake.generate());
// 7167216930510602240

Tests

Tests are written in Bun Test. To run tests, run the following command:

  bun test

To run tests with coverage, run the following command:

  bun test:coverage

License

MIT

The project contains part based on a fork off of (snowflake-generator)[https://github.com/FatAussieFatBoy/snowflake-generator].


Package Sidebar

Install

npm i @aamirtech/utils

Weekly Downloads

2

Version

0.1.6

License

MIT

Unpacked Size

18.4 kB

Total Files

18

Last publish

Collaborators

  • aamirkhan