Catalog npm
PACKAGE EXPLORERView in registry

@0xcda7a/bag-of-tricks

npm

My personal library of patterns and tools for modern web development

Versions collected14
Direct dependencies11From release 0.0.2-alpha.13
Last observed20 Oct, 22:44 UTC

README

Current package documentation

cdata's "Bag of Tricks"

This is a standard library of sorts that I use for personal projects and demos.

The "bag" 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 "tricks" 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: 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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 14

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.2-alpha.13Registry latest20 May 202111
0.0.2-alpha.1229 Apr 202111
0.0.2-alpha.1129 Nov 202011
0.0.2-alpha.1010 Nov 202011
0.0.2-alpha.915 Oct 202011
0.0.2-alpha.814 Oct 202011
0.0.2-alpha.729 Sept 202011
0.0.2-alpha.620 Sept 202011
0.0.2-alpha.520 Sept 202011
0.0.2-alpha.420 Sept 202011
0.0.2-alpha.318 Sept 202011
0.0.2-alpha.218 Sept 202011
0.0.2-alpha.116 Sept 202011
0.0.116 Sept 202011

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:44 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c1261120835710d96529a2dca8cbebe9e66d2a6fd6d3ab34da26317579c1dbac