Yummies - a set of various utilities for JavaScript projects with open source code, designed to simplify the execution of common tasks and increase performance. This project provides developers with powerful and easy-to-use functions that can be easily integrated into any JavaScript code.
Utilities for working with asynchronous code
All other utilities without groupping
Utilities for working with cookies
Utilities for working with CSS
Utilities for working with dates and times (based on dayjs)
Utilities for working with devices
Utilities for working with HTML
Utilities for working with identifiers
Utilities for working with module imports
Utilities for working with devices
Utilities for working with media (image, canvas and blob)
Utilities for working with milliseconds
Utilities for working with monetary values (formatting)
Utilities for working with sound
Utilities for working with storage (localStorage, sessionStorage)
Utilities for working with text
Utility for type checks
Utilities for working with vibrate api
TypeScript utility types that simplify writing TypeScript code.
They can be imported globally using the d.ts
file, embedding it in the environment
import 'yummies/utility-types';
Or specified in tsconfig.json
in the "types"
field
{
"compilerOptions": {
"types": [
"yummies/utility-types"
],
"target": "...blabla",
...
}
...
}
Alternatively, you can use the "library" approach, where you need exported types.
For this, you can use the yummies/utils/types
import.
import { AnyObject } from 'yummies/utils/types';
Additional set of complex utilities