Catalog npm
Back to packageRELEASE DETAILS

0.0.2-alpha.9

npm

@0xcda7a/bag-of-tricks

My personal library of patterns and tools for modern web development

Published15 Oct 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-NA8XNULIYwCAt6QyVzWPZ3FU/Rm+PB/mvLMBm5eQvLEw+ft3a88OuIo6PZ4X02bA5WK300s457OpG5lYGdRAGw==",
  "shasum": "d59caca2884f7172cb8129add73425362a44dabd",
  "tarball": "https://registry.npmjs.org/@0xcda7a/bag-of-tricks/-/bag-of-tricks-0.0.2-alpha.9.tgz",
  "fileCount": 57,
  "unpackedSize": 200423,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfh+QhCRA9TVsSAnZWagAAbJMP/0yVcxUGu7k6whC86PsR\nOEtJ1/u4c7rko7UaTygJhED158NT0q+VkurcAyTl0ZtVnCW2eVmwXFIDXFt/\nMRkSLVQdeQkn5H3CALv7qBhzn5bIAqV4Rz6CrdyIEAdF+bXPQ0ijc+bEuMx1\nDXAk7zJP/E1/Hnw+t9puLsDFQlEpPLDifMR3syfN80ewEqppx2NhQjuvCxt7\nrxZ6s5WJsj6Bo+hjYsq+rs5BKqo3CdB52WxyCQJJpi3kEeEgwuq5RGImltKA\nGTe+O+sgZf2K/9OReNrQ06Y0fhzE3rWeDPjG1ystfJWshw4QKuXRpUMCHnTD\nzgFIywRZmNIB6eFonznffWPt4m5VE/90L3gmlNWjDtkz0SQq2coh7Dkyvpi2\nGCLIrgVoRfTvcPOaGafy3yzRUCMu1mTIAuI6i3m/rj/dG8UDriAA1QRA+z5w\n8AuzyoMXaTr1ntTcgEcaWtK+b1t3NwKrd60mZO3WamjBzmpm381b5e8SRv2Q\nTobmIAUFZWz8seN3H7UurzSPCmC5bT7w1NtFMcZ/4WcQ5RVGmbBhf9FP5LVW\nq79WG5Tr8KOvAVrAZrhpRvIvlNfMeiiYkLAKjQpHh13kPxytw8bTSiv4PzSl\nmX4JXN7gt+gILxw2KTu0byUGDaLwMifnNIWm5vAyn2U3cdtSk7d+z0fw36ZC\nkNCo\r\n=aQaY\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDz02SYJmHhGPFWQIh9mxbt6llCHK64S4n2vurNgMt9TQIgRHachFDEiGlrtXVBPxWyLCe2U2V4zbZlIoOaERda650="
    }
  ]
}

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:19b6a52d2eaad752e7d49e83912a30e3ff810b02eccf348015c859d7b907b926

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.814 Oct0.0.2-alpha.729 SeptView all collected versions →