https://github.com/cdata/toolbox
My personal library of patterns and tools for modern web development
https://github.com/cdata/toolbox
Last synced: 6 months ago
JSON representation
My personal library of patterns and tools for modern web development
- Host: GitHub
- URL: https://github.com/cdata/toolbox
- Owner: cdata
- Created: 2020-09-16T20:45:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-04T02:38:30.000Z (about 4 years ago)
- Last Synced: 2025-03-27T22:16:45.657Z (10 months ago)
- Language: TypeScript
- Size: 119 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## cdata's toolbox
This is a standard library of sorts that I use for personal projects and demos.
The "box" contains common patterns and tools for state management that I find
myself writing repeatedly. The general emphasis of this library is to offer
feather-weight patterns that support using the best of modern app-building
patterns on the web.
Some of the "tools" have better-known, better-tested and/or better-featured
alternatives. It is usually safe to assume that if some code makes its way here,
it is because one or more of the following things was true at the time it was
added:
- Alternatives incurred more byte cost than I cared to take on in a project
- Alternatives assume Node.js / CommonJS details, making them difficult to
use and bundle
- Alternatives are not suitable for use in conjunction with web components
In some cases there is also the most time honored of reasons for some code to be
here: because I felt like writing it myself 🖖
## Warning: perennially pre-alpha status
Currently offered without tests, docs or any guarantee of API stability. GLHF!
## Development
### Commands
- `npm run build` will build the full project, producing deployable artifacts
in the `dist` folder.
- `npm run watch` will watch all files in all relevant project directories for
changes and build them as necessary
- `npm run serve` will start a static web server with `dist` as the web root
- `npm run dev` will do all three of the above things in order
### Layout
- `src` contains raw TypeScript sources; compiled JavaScript artifacts go to
the `lib` folder.