Skip to content

nameer-rizvi/utils

Repository files navigation

@nameer/utils

Library of utility functions for use in personal projects.

For Package Consumers

If you're using this as a published package, install it via:

npm install @nameer/utils
# or
yarn add @nameer/utils

Usage

This package supports both CommonJS and ES Modules out of the box.

ESM

import * as utils from "@nameer/utils";

CommonJS

const utils = require("@nameer/utils");

For Template Users

If you're using this as a starting point for your own package, clone and set it up:

# Clone project
git clone https://github.com/nameer/utils.git

# Change into project
cd utils

# Install dependencies
yarn install

Development

# Build CJS and ESM outputs
yarn build

# Lint source files
yarn lint

# Auto-fix lint errors
yarn lint:fix

# Test both CJS and ESM outputs
yarn test

License

MIT

About

Library of utility functions for use in personal projects.

Resources

License

Stars

Watchers

Forks

Contributors