Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
r2-streamer-js
Advanced tools
Readium 2 'streamer' for NodeJS (TypeScript, ECMAScript 2015 / ES6)
TravisCI, develop
branch:
node --version
and npm --version
from the command line)yarn --version
from the command line)https://www.npmjs.com/package/r2-streamer-js
yarn add r2-streamer-js
or npm install r2-streamer-js
...or manually, in your project's package.json
:
"dependencies": {
"r2-streamer-js": "latest"
}
In your Javascript code (ECMAScript 2015 / ES6) or TypeScript code (all *.d.ts
type definitions are included in ./node_modules/r2-streamer-js/**
):
// see r2-streamer-js/dist/src/index.d.ts for exported types:
import { * } from "r2-streamer-js";
// ... or specific, direct type import, e.g.:
import { Publication } from "r2-streamer-js/dist/src/models/publication";
Command line steps:
cd r2-streamer-js
npm update --global
(sync NPM global packages)yarn global upgrade
(sync Yarn global packages)yarn install
(initialize local node_modules
packages from dependencies declared in package.json
)yarn upgrade
(sync local packages)yarn run build
(invoke the main build script: clean, lint, compile)yarn test
(run the unit tests)yarn run cli {PATH_TO_EPUB}
(command line publication "dump") (path is relative or absolute)yarn run server {PATH_TO_EPUB}
(HTTP service to serve publication manifest and associated resources)FAQs
Readium 2 'streamer' for NodeJS (TypeScript)
The npm package r2-streamer-js receives a total of 457 weekly downloads. As such, r2-streamer-js popularity was classified as not popular.
We found that r2-streamer-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.