Socket
Socket
Sign inDemoInstall

@cher-ami/utils

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cher-ami/utils

Browser and node utils library


Version published
Maintainers
4
Created
Source

@cher-ami/utils

Browser & node utils for cher-ami projects.

Installation

npm i @cher-ami/utils

Usage

Import all utils from @cher-ami/utils

import { modulo } from '@cher-ami/utils';

modulo(5, 2); // 1

Util categories

  • array
  • dom
  • envs
  • math
  • promise
  • social
  • string

Development

# install dependencies
pnpm i

# run tests
pnpm test

# run tests in watch mode
pnpm test:watch

# build in watch mode
pnpm build:watch

# build for production
pnpm build

Publish a new version

# build and tests
pnpm pre-publish

# increment version in package.json
npm verion {patch|minor|major}

# push to github with tags
git push --follow-tags

# publish to npm (you need to be logged in)
npm publish

# then create a release on github

Licence

MIT

Credits

© cher-ami

FAQs

Package last updated on 17 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc