Skip to content

๐Ÿฆฎ Various development utilities by BlazingWorks

License

Notifications You must be signed in to change notification settings

blazingworks/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

@blazingworks/utils

Lines of code npm Downloads GitHub issues GitHub pull requests GitHub GitHub Repo stars npm Version GitHub contributors

๐Ÿฆฎ Various development utilities by BlazingWorks

Tech Stack

Installation

NPM

npm install @blazingworks/utils

Yarn

yarn add @blazingworks/utils

Usage

TypeScript

import { prettyNumber } from "@blazingworks/utils/numbers";
import { surround } from "@blazingworks/utils/text";

prettyNumber(74854); // 74,854
surround("Hello World", ["๐Ÿ‘‹ ", " ๐ŸŒ"]); // ๐Ÿ‘‹ Hello World ๐ŸŒ

// or

import { numbers, text } from "@blazingworks/utils";

numbers.prettyNumber(74854); // 74,854
text.surround("Hello World", ["๐Ÿ‘‹ ", " ๐ŸŒ"]); // ๐Ÿ‘‹ Hello World ๐ŸŒ

JavaScript

const { prettyNumber } = require("@blazingworks/utils/numbers");
const { surround } = require("@blazingworks/utils/text");

prettyNumber(74854); // 74,854
surround("Hello World", ["๐Ÿ‘‹ ", " ๐ŸŒ"]); // ๐Ÿ‘‹ Hello World ๐ŸŒ

// or

const { numbers, text } = require("@blazingworks/utils");

numbers.prettyNumber(74854); // 74,854
text.surround("Hello World", ["๐Ÿ‘‹ ", " ๐ŸŒ"]); // ๐Ÿ‘‹ Hello World ๐ŸŒ

How to report issues/questions

License

As this is an open-source project, support is limited. Please use GitHub Issues for community support or contact [email protected] for very important matters.

โ„น๏ธ All code in this repository is licensed under the MIT License.