Git Product home page Git Product logo

numify's Introduction

๐Ÿ”ข Numify ๐Ÿ” 

Test Downloads this Week Bundle Size Version

Numify

๐Ÿฆ„ Simple utility to convert long numbers to human readable format.

(:loudspeaker: Pronunced as "Num-e-fy")

โŒ Without Numify โœ… With Numify
1000 Views 1k Views
25000 Likes 25k Likes
30000 Retweets 30k Retweets
1000000 Followers 1M Followers
1000000000 Followers 1B Followers
1000000000000 Followers 1T Followers

๐Ÿ“ฆ Requirements

Node.js 12.x LTS or 14.x LTS

โœจ Installation

Install the NPM Package with the below command:

npm install numify --save

(or)

Install with Yarn:

yarn add numify

๐Ÿ–Š๏ธ Usage

Import the module in your project:

// Commonjs Import
var { numify } = require("numify");

// or ES6 import
import { numify } from "numify";

๐Ÿ’ก Example

Pass the Number to the function

import { numify } from "numify";

const number = numify(1000);
console.log(number);

โ˜‘๏ธ Example Output

1K

๐Ÿ’š Message

I hope you find this useful. If you have any questions, please create an issue.

numify's People

Contributors

mcnaveen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

shanisha2022

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.