@paunovic/utils
v0.0.4
Published
A versatile collection of utility functions for simplifying JavaScript development.
Downloads
3
Readme
utils
A versatile collection of utility functions for simplifying JavaScript development.
⚡️ Online Playground
🚀 Features
- 📝 Strings - Versatile utilities for generating and manipulating strings.
- 🔢 Numbers - Utilities for generating, manipulating, and validating numbers.
- 🧩 Various - A collection of utilities for diverse purposes.
📦 Install
# Using npm to install as a development dependency
npm install --save-dev @paunovic/utils
# Using Yarn to add as a development dependency
yarn add --dev @paunovic/utils
# Using pnpm to add as a development dependency
pnpm add --save-dev @paunovic/utils
🪄 Usage
// Importing specific function using ESM syntax
import { uniqueIdentifier } from '@paunovic/utils'
// Importing specific function using CommonJS syntax
const { uniqueIdentifier } = require('@paunovic/utils')
// Seeing the imported function in action
const ID = uniqueIdentifier()
🌐 Browser
// Importing specific function directly from the URL
import { uniqueIdentifier } from 'https://unpkg.com/@paunovic/utils'
// Seeing the imported function in action
const ID = uniqueIdentifier()
License
MIT Copyright © 2024 Miloš Paunović