Daniel Weck
Daniel Weck
Here's an example of a project where the `#!/usr/bin/env node` is added to a special "bootstrapper" file for CLI usage: https://github.com/daisy/ace/blob/master/packages/ace-cli/bin/ace.js https://github.com/daisy/ace/blob/be5d8a4154a2a38a07b28475f9e0538d91a0bab3/packages/ace-cli/package.json#L20 Note that the `lib` folder is generated at...
https://streamer.kvmai.com ?
@JayPanoz of course I agree with using runtime environment variables, specifically in a pure-server-side situation that is totally sandboxed / controlled by the server operators. However, historically we have relied...
Thanks @aslagle, useful info! :) Looking at the NYPL Git history ( https://github.com/NYPL-Simplified/opds-web-client/commits/master/packages/server/index.js ), I see that the "server" adaptations were put into place as early as Feb. 2016. To...
Side note: I had a chat with our JelloBooks friends earlier today (including @JayPanoz). They have integration requirements that go beyond improving the API / architecture here and there (such...
PS: I logged a separate issue about HTTP CORS preflight (`options` method): https://github.com/readium/r2-streamer-js/issues/39 I've love your feedback / input :)
Note that there are several "competing" proposals for various definitions of "canonical" JSON, e.g. https://github.com/gibson042/canonicaljson-spec https://github.com/gibson042/canonicaljson-go http://wiki.laptop.org/go/Canonical_JSON https://github.com/well-typed/canonical-json https://github.com/mirkokiefer/canonical-json https://github.com/davidchambers/CANON https://keybase.io/docs/api/1.0/canonical_packings#json https://bigeasy.github.io/keyify/docco/keyify.js.html https://github.com/bigeasy/keyify ...as exemplified by this expansive discussion thread:...
Also see improved JSON "stringify" solutions: https://github.com/epoberezkin/fast-json-stable-stringify
Related: https://github.com/edrlab/r2-navigator-js/issues/16
Note, source is currently: https://github.com/danielweck/webpub-manifest/tree/master/schema ...which is fork of upstream: https://github.com/readium/webpub-manifest/tree/master/schema ...see PR: https://github.com/readium/webpub-manifest/pull/9