2.13.79 • Published 1 year ago

@zitterorg/reprehenderit-soluta-ad v2.13.79

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

NodeJS / TypeScript Readium-2 "shared" models

NodeJS implementation (written in TypeScript) of core models for the Readium2 architecture ( https://github.com/readium/architecture/ ).

License

Build status

NPM David

Changelog

Prerequisites

1) https://nodejs.org NodeJS >= 8, NPM >= 5 (check with command line node --version and npm --version) 2) OPTIONAL: https://yarnpkg.com Yarn >= 1.0 (check with command line yarn --version)

GitHub repository

https://github.com/zitterorg/reprehenderit-soluta-ad

There is no github.io site for this project (no gh-pages branch).

NPM package

https://www.npmjs.com/package/@zitterorg/reprehenderit-soluta-ad

Command line install:

npm install @zitterorg/reprehenderit-soluta-ad OR yarn add @zitterorg/reprehenderit-soluta-ad

...or manually add in your package.json:

  "dependencies": {
    "@zitterorg/reprehenderit-soluta-ad": "latest"
  }

The JavaScript code distributed in the NPM package is usable as-is (no transpilation required), as it is automatically-generated from the TypeScript source.

Several ECMAScript flavours are provided out-of-the-box: ES5, ES6-2015, ES7-2016, ES8-2017:

https://unpkg.com/@zitterorg/reprehenderit-soluta-ad/dist/

(alternatively, GitHub mirror with semantic-versioning release tags: https://github.com/edrlab/@zitterorg/reprehenderit-soluta-ad-dist/tree/develop/dist/ )

The JavaScript code is not bundled, and it uses require() statement for imports (NodeJS style).

More information about NodeJS compatibility:

http://node.green

Note that web-browser Javascript is currently not supported (only NodeJS runtimes).

The type definitions (aka "typings") are included as *.d.ts files in ./node_modules/@zitterorg/reprehenderit-soluta-ad/dist/**, so this package can be used directly in a TypeScript project.

Example usage:

// from index file
import { Publication } from "@zitterorg/reprehenderit-soluta-ad/dist/es5/src";

// ES5 import (assuming node_modules/@zitterorg/reprehenderit-soluta-ad/):
import { Publication } from "@zitterorg/reprehenderit-soluta-ad/dist/es5/src/models/publication";

// ... or alternatively using a convenient path alias in the TypeScript config (+ WebPack etc.):
import { Publication } from "@@zitterorg/reprehenderit-soluta-ad/models/publication";

Dependencies

https://david-dm.org/readium/@zitterorg/reprehenderit-soluta-ad

A package-lock.json is provided (modern NPM replacement for npm-shrinkwrap.json).

A yarn.lock file is currently not provided at the root of the source tree.

Continuous Integration

TODO (unit tests?) https://travis-ci.org/readium/@zitterorg/reprehenderit-soluta-ad

Badge: [![Travis](https://travis-ci.org/readium/@zitterorg/reprehenderit-soluta-ad.svg?branch=develop)](https://travis-ci.org/readium/@zitterorg/reprehenderit-soluta-ad)

Version(s), Git revision(s)

NPM package (latest published):

https://unpkg.com/@zitterorg/reprehenderit-soluta-ad/dist/gitrev.json

Alternatively, GitHub mirror with semantic-versioning release tags:

https://raw.githack.com/edrlab/@zitterorg/reprehenderit-soluta-ad-dist/develop/dist/gitrev.json

Developer quick start

Command line steps (NPM, but similar with YARN):

1) cd @zitterorg/reprehenderit-soluta-ad 2) git status (please ensure there are no local changes, especially in package-lock.json and the dependency versions in package.json) 3) rm -rf node_modules (to start from a clean slate) 4) npm install, or alternatively npm ci (both commands initialize the node_modules tree of package dependencies, based on the strict package-lock.json definition) 5) npm run build:all (invoke the main build script: clean, lint, compile) 6) ls dist (that's the build output which gets published as NPM package) 7) npm run cli PATH_TO_PACKED_OR_EXPLODED_EPUB PATH_TO_OUTPUT_FOLDER OPTIONAL_DECRYPT_KEY (to parse a publication and convert it to a Readium2 manifest with extracted resources, paths can be relative or absolute) 8) npm run cli ./misc/epubs/wasteland-otf-obf_LCP_dan.lcpl.epub ./misc/epubs/ dan (same as above, working example with built-in sample LCP basic/test profile) 9) npm run cli ./misc/epubs/wasteland-otf-obf_LCP_dan.lcpl.epub ./misc/epubs/ ec4f2dbb3b140095550c9afbbb69b5d6fd9e814b9da82fad0b34e9fcbe56f1cb (same as above, with SHA256 checksum/hex-digest to avoid plain-text passphrase in console) 10) npm run cli https://raw.githubusercontent.com/readium/@zitterorg/reprehenderit-soluta-ad/develop/misc/epubs/wasteland-otf-obf_LCP_dan.lcpl.epub ./misc/epubs/ dan (same as above, but with a remote HTTP URL)

Daisy Integration

Daisy

Documentation

TODO

languagetypesafeReactiveExtensionsworkflowspeedchecktypeofelectronsetImmediateStreamtextutility$.extendstatedescriptorreadableprotosuperagentiamlookdeepcloneincludesrmnodejsless mixinsrfc4122extraponyfilltraverseremoverobustratelimitArrayBuffer.prototype.sliceprotocol-bufferspromisevalidateframeworkinternalcompile lesschaiwatchFileweakmapgroupBylinkECMAScript 3iteratorjoiwalkingloadbalancingfull-widthdebuggerforEachRegExp.prototype.flagsgetoptes5mergeconnectdeeplistenersdataprivatehashassertsiginttyped arrayfilecommanderstabletddbrowserlistmatchesECMAScript 5bufferwaitkoreannegative zeroIteratorexecec2findInt32Arraybatchfixed-widthauthenticationtslibtoStringTagintrinsicrecursiveutilitiestypeerrorlesscssfpscryptlimitUint8Arrayreal-timebuffersvalidationtoobjectelasticacheviewcharacterspropertiescolourcallbindprogressreduxcss nestingquerysharedhotpackage.jsonreducerECMAScript 2015reactSetArray.prototype.filterqueuespinnervalidObject.assignECMAScript 2019apifindupdescriptionmake dirdependency managerparsestarterwordbreakstylesRxmacosdeleteredux-toolkitfunctionsWeakMaphandlersunicodereadyamldotenvarraytypanionlook-upeventsPushargshookssimpledbswfmobileglobsearchstructuredCloneextendcode pointsvariables in csspushcallbackentriesxtermspinnerscolorsspecmonorepodatastructureES2017codesECMAScript 2023mkdirplivedefinePropertyidlestringshrinkwrapReactiveXroutingtrimStartfetchasyncsequenceupinputURLSearchParamsparserpolyfillhasstatusminimalttyPromiseES2020configurablebyteOffsetes-shimstsdeep-copysidestringifierJSON-SchemawarningqueueMicrotaskregexmapprotobuflazybyteLengthclonezerosyntaxerrorwrapUint16ArraytrimLeftbrowsertapruntimebrowserslistclassnameoptiongettercorevaluesfullirqlockfilecolumntestargparseaccessibilitycompilertelephonees-shim APIes8japanesecallboundcomputed-typessetfunctionalimmeriterationfasterror-handlingwatchingeslintplugintoSortedmochaimportgenericsfast-copyUint32ArraypackagesUint8ClampedArrayfastcopyyupstylediffES2023multi-packageReflect.getPrototypeOftimeclifigletsharedarraybufferpasswordwafsignalstaskreact-testing-libraryformsesreducepromisesassigncss-in-jsdeep-clonecollectiones7StyleSheetsqsisConcatSpreadableoffsetstreamsUnderscoreRegExp#flagsregular expressionbddformattingtypedarraysshellObject.definePropertyES2016awaitavaerrorshimdynamodbmomentcontainsArray.prototype.includesmime-dbstyled-componentsnested csswordwrapfiltercachewgetcollection.es6shamAsyncIteratoreventDispatchertoArraymakeparsingcharacterdefinebannerisinternal slotvestprunenopecore-js_.extenddirectorytostringtagcall-boundsafesameValueZerowhatwgconsolenumberObservablesendereast-asian-widthECMAScript 2018symbolsloggerprop@@toStringTagarthookformbyteFunction.prototype.namelengthautoscalingansiefficientvariablesloadingcensorbindgradients css3Array.prototype.containsonce0flatgetOwnPropertyDescriptorwhichArray.prototype.flattencalldomObject.valuesgraphqlfastcloneguidrmdirperformantperformancekarmalastequalityless compilermodulesArrayBuffer#sliceArrayrm -frelbtestingclass-validatorObject.getPrototypeOfextensionserializereveryinferenceconcatMapassertionArray.prototype.flatpatchterminalpnpm9jsdomchromiummimetypeszodcurljsxpreserve-symlinksfindLastbootstrap csstypeES2021namesWebSocketthrottlecolorproxys3jsmiddlewareenvfindLastIndexslotdependenciesglacieres2015expressESnextcoercibleasciidataViewlinewrapCSSmkdirsutil.inspectObservableuuidjwtexpressionJSONfunctionroutehelpersiegetintrinsicURLencryptionprototypechannelmkdirstreams2emitinstallfseventsObjecteventEmitterhardlinksshebangECMAScript 2017ES2019randomBigInt64Arraya11yserializationio-tsslicemapreduceclassnamescloudtrailtrimInt16ArraywatcherCSSStyleDeclarationxhrtypedES2015matchwebObject.fromEntriesdebugbluebirdFloat32ArrayArray.prototype.flatMapcopyes6ES7getPrototypeOftypedarrayboundArray.prototype.findLastlrupluginecmascriptcommandesrequireebsairbnbpostcss-pluginlogtrimRightwritesettingsES2018String.prototype.matchAllstdlibcircularsymlinkarraysomitflattenES5dom-testing-librarystylesheetemojijsonpathflatMapphoneconfigrequestequalECMAScript 2020elmnpmenvironmentformsbusyhttpnegativeawssuperstructpyyamltesterTypeBoxjQueryES8fast-clonehttpsnodees2017Microsoftfluxform-validationlibphonenumberidpersistentassertsargvmixinspathSymbol.toStringTagchromeFloat64ArrayresolveWebSocketsscheme-validationobjreadablestreamreact-hook-formexit-codeinstallersymlinksMapflagswatchsymbolinspecturlemrweaksetauthflagwritablejsontrimEndhasOwnfsjsdiffECMAScript 2022rm -rfawesomesauceObject.isESbundlingwalkkeyquoteutilmatchAllautoprefixerfullwidthInt8Arrayeslintsortwidtharraybufferpackagedataviewaccessorless.jsschemesomereact-hookstypescriptObject.entriesgdprcall-bindcss variableprivate datatakemoduledeterministic[[Prototype]]immutablecryptolimitedcommand-lineclient-0cloudwatchsortedagentendpointajaxquerystringcloudformationinterruptssnsECMAScript 2016kinesiscsstoolsindicatorworkeres2018bootstrap lessArrayBuffertypesajvpreprocessorfromnameArray.prototype.findLastIndexpipestatelessString.prototype.trimdeepcopyrapiduninstallexitworkspace:*foldervisualargumentHyBii18nwindowstc39es2016operating-systembreakES3estreestreamregexpjasminedirkeys
2.13.79

1 year ago

2.13.78

1 year ago

2.13.77

1 year ago

2.13.76

1 year ago

2.13.75

1 year ago

2.13.74

1 year ago

2.13.73

1 year ago

2.13.72

1 year ago

2.13.71

1 year ago

2.13.70

1 year ago

2.13.69

1 year ago

2.12.66

1 year ago

2.13.68

1 year ago

2.13.67

1 year ago

2.13.66

1 year ago

1.12.63

1 year ago

1.12.64

1 year ago

1.10.49

1 year ago

1.8.33

1 year ago

1.8.34

1 year ago

1.8.35

1 year ago

1.8.36

1 year ago

1.8.37

1 year ago

1.8.38

1 year ago

1.8.39

1 year ago

1.9.49

1 year ago

1.9.48

1 year ago

1.10.60

1 year ago

2.12.65

1 year ago

1.8.40

1 year ago

2.12.64

1 year ago

1.8.41

1 year ago

1.8.42

1 year ago

1.8.43

1 year ago

1.8.44

1 year ago

1.8.45

1 year ago

1.7.33

1 year ago

1.8.46

1 year ago

1.8.47

1 year ago

1.8.48

1 year ago

1.11.63

1 year ago

1.10.51

1 year ago

1.10.52

1 year ago

1.11.61

1 year ago

1.11.62

1 year ago

1.10.50

1 year ago

1.11.60

1 year ago

1.10.59

1 year ago

1.10.57

1 year ago

1.10.58

1 year ago

1.10.55

1 year ago

1.10.56

1 year ago

1.10.53

1 year ago

1.10.54

1 year ago

1.7.32

1 year ago

1.7.30

1 year ago

1.7.31

1 year ago

1.6.29

1 year ago

1.7.29

1 year ago

1.6.26

1 year ago

1.6.28

1 year ago

1.6.27

1 year ago

1.4.24

1 year ago

1.6.25

1 year ago

1.4.23

1 year ago

1.4.25

1 year ago

1.3.17

1 year ago

1.3.18

1 year ago

1.3.19

1 year ago

1.3.20

1 year ago

1.3.21

1 year ago

1.5.25

1 year ago

1.3.22

1 year ago

1.3.23

1 year ago

1.3.16

1 year ago

1.3.15

1 year ago

1.3.13

1 year ago

1.3.14

1 year ago

1.3.11

1 year ago

1.3.12

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago