Catalog npm
Back to packageRELEASE DETAILS

0.0.2-alpha.5

npm

@0xcda7a/bag-of-tricks

My personal library of patterns and tools for modern web development

Published20 Sept 2020
Direct dependencies11
Transitive dependenciesNot calculated

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.

Declared dependencies 11

Native requirements
11 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
reselect
Environment
{
  "local_name": "reselect",
  "alias": false,
  "peer_metadata": null
}
^4.0.0runtime
@rollup/plugin-node-resolve
Environment
{
  "local_name": "@rollup/plugin-node-resolve",
  "alias": false,
  "peer_metadata": null
}
^9.0.0development
@rollup/plugin-replace
Environment
{
  "local_name": "@rollup/plugin-replace",
  "alias": false,
  "peer_metadata": null
}
^2.3.3development
chokidar-cli
Environment
{
  "local_name": "chokidar-cli",
  "alias": false,
  "peer_metadata": null
}
^2.1.0development
clean-css-cli
Environment
{
  "local_name": "clean-css-cli",
  "alias": false,
  "peer_metadata": null
}
^4.3.0development
http-server
Environment
{
  "local_name": "http-server",
  "alias": false,
  "peer_metadata": null
}
^0.12.3development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.5development
rollup
Environment
{
  "local_name": "rollup",
  "alias": false,
  "peer_metadata": null
}
^2.26.11development
rollup-plugin-sourcemaps
Environment
{
  "local_name": "rollup-plugin-sourcemaps",
  "alias": false,
  "peer_metadata": null
}
^0.6.2development
rollup-plugin-terser
Environment
{
  "local_name": "rollup-plugin-terser",
  "alias": false,
  "peer_metadata": null
}
^7.0.2development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-rfRdTaCm+Lc5sHD4xr9HUNM8nQPqzCf8lrNYkPhV6WRpZZ+AwwKQUhsdqUM0qulpQYWHT5bLv0tTgGck1t0puQ==",
  "shasum": "e6775eaa765dbfced38c6b509371b7cbd305e147",
  "tarball": "https://registry.npmjs.org/@0xcda7a/bag-of-tricks/-/bag-of-tricks-0.0.2-alpha.5.tgz",
  "fileCount": 41,
  "unpackedSize": 175488,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZ6k/CRA9TVsSAnZWagAAxNMP/19wUlj1wnMxr0EsTCiN\nkWjv4r5qcxj+wJ1iQpeE+7OxccNUxPqnoXEoyf817iCdM1n4yyZQnfmyA/Rf\nL8wFFn7Xvmo7YnN2RR1qF3nIdrVFU1xOsv1RDVsYNsFfNKH5M9NCmfE1a5C0\ngLOIqotlXbBYhaZ7bNmGMOJe/bl4ELRASFYR5rJmIl6doswEmXamH8vxuKUY\nXT7aV60Kuwc2gX1cLbr+rFfVgPKCegDdpisGqabjLS+F7739wj/5dt8BHWAx\nrEC6vQticul72Rhl8PyWfge03OyiNvsj3voaFw5MJo2zYYeCrcnxfkiF88Qj\nINl0IPd8Ff27K7HzJg2+RQQF0y5o0OISQYf3lsNUa6slZA1aXBKwZqz+xsLh\nrPlCWMikNqx7RnPQuIBWfztgmbpZDC6+ysGpultlQctyy9dajAtTZLZ+oShd\neZ1kLk/g35AxLTDoWhSea23453ZYXhtW8ywm9/KhUBmAJVMYIUXDdw4eogbS\nS96UlJpJrQ7ddO+AB8oJvO8K6dbwJybMjiqjgyijJkkCEsze8qJ8EsWU7uN3\nxVqPzwilmTdFB0LdgWS1Y/NNwLaxywN4bAlSfZ9TI5izLUnId4NpmY4B0qH6\nZ19mHCb8UWaNVSu6rXBgdwWtskYW/1XgcFv+LtWHJGLmc4/poJ/YygHbnWWB\nmvhu\r\n=/d4j\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIEtfSa9LeP33y8R/FPWyQgBH9imZWQYugl4mH4mmwdIBAiEA8REoxyy/CF3jcgvSVSrpmhjTUfZqc2yGtupF89HFf0k="
    }
  ]
}

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_version:b75ff2dd7586107f49904bef2dfbc7a3b39aee489c79ec6835d78e7d666dff6d

Other collected versions

0.0.2-alpha.1320 May0.0.2-alpha.1229 Apr0.0.2-alpha.1129 Nov0.0.2-alpha.1010 Nov0.0.2-alpha.915 Oct0.0.2-alpha.814 OctView all collected versions →