New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@drivekyte/currency-utils

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drivekyte/currency-utils

[![pipeline status](https://git.drivekyte.com/kytecoredevelopers/currency-utils/badges/master/pipeline.svg)](https://git.drivekyte.com/kytecoredevelopers/currency-utils/-/commits/master)

  • 1.2.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

Currency utils

pipeline status

coverage report

Default currency formatters for frontend.

Installation

Run

yarn add @drivekyte/currency-utils

Usage

import useCurrencyUtils from '@drivekyte/currency-utils';

const Foo = () => {
  const formatCurrency = useCurrencyUtils();

  return <>{formatCurrency(20)}</>;
};

Contributing

Contributions to this project are welcome. After cloning the repo, use the following instructions:

Installing dependencies

yarn install

Running locally

yarn dev

Running tests

yarn test:watch

Deploying into NPM

We've a CI/CD for publishing automatically to NPM once a branch is merged into master. The step to publish to NPM should be manually triggered. Make sure to bump the package version before.

Deploying locally

We use yalc in order to deploy and test locally.

yarn publish:local

FAQs

Package last updated on 03 May 2022

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