DTUtils is a collection of utility functions purely made for convinience.
Project description
DTUtils
DTUtils is a collection of utility functions purely made for convinience.
Note: This package uses ES modules. To use it in Node.js add "type": "module" to your project's package.json or use .mjs extensions.
Usage
import { formatColor } from "@dimitristerzz/dtutils";
console.log(formatColor("#FFFFFF", "hsl"));
console.log(formatColor("255,255,255", "hsl"));
console.log(formatColor({ r: 255, g: 255, b: 255 }, "hex"));
Utilities
formatcolor, randomint
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dtutils_dimitristerzz-0.0.4.tar.gz.
File metadata
- Download URL: dtutils_dimitristerzz-0.0.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.15.0a3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ece4fbe0e5cd9e913b629bba60a3574bb2099f2951324efab2820d9591d047d
|
|
| MD5 |
2428fa8e0c85706dc5d4b678960861e4
|
|
| BLAKE2b-256 |
3439ff5df8204d5cd3b6e51c482b9fa54f6b99e7e203fda42afd7c1a502177c1
|
File details
Details for the file dtutils_dimitristerzz-0.0.4-py3-none-any.whl.
File metadata
- Download URL: dtutils_dimitristerzz-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.15.0a3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fefd6961660852145eb45584352e8e1c2c8b37b401eae2c78ae23e41a0fb1d2
|
|
| MD5 |
4f7d9803452ac69222678495a12fccc2
|
|
| BLAKE2b-256 |
e1d1b237e2c9a5f1e96a12f35a9d677bd91aafefa66ddc1dbf9adc98bf22cb99
|