🦮 Various development utilities by BlazingWorks
npm install @blazingworks/utils
yarn add @blazingworks/utils
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 🌍
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 🌍
- For general issues/questions, open an issue
- For security issues, please email security@blazing.works
- For important questions, please email opensource@blazing.works
As this is an open-source project, support is limited. Please use GitHub Issues for community support or contact opensource@blazing.works for very important matters.
ℹ️ All code in this repository is licensed under the MIT License.