https://github.com/4lch4/backpack
A collection of useful functions, constants, and more, for use in a variety of NodeJS packages/projects.
https://github.com/4lch4/backpack
Last synced: 3 months ago
JSON representation
A collection of useful functions, constants, and more, for use in a variety of NodeJS packages/projects.
- Host: GitHub
- URL: https://github.com/4lch4/backpack
- Owner: 4lch4
- Created: 2023-10-15T01:37:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-04T05:51:46.000Z (over 1 year ago)
- Last Synced: 2025-02-26T17:52:53.782Z (3 months ago)
- Language: TypeScript
- Size: 172 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @4lch4/backpack
This repository is home to a NodeJS package that provides a variety of functions, constants, etc., that I find useful and use in many of my projects.
## Constants
The following are folders of constants, each of which contains a variety of helpful values I use in my projects.
### Time
The `time` folder contains constants related to time, such as the number of milliseconds in a second, minute, hour, day, week, month, and year.
### Log
The `log` folder contains constants related to logging, such as the default service/app name to use, colors for output, and whatever else I want to add.
### Env
The `env` folder contains constants related to environment variables, such as the names of environment variables I use in my projects.
## Vendors
As of `v1.0.0`, `@4lch4/backpack/vendors` exports the following:
- `dayjs` as `Day`
- `picocolors` as `pc`