
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Nb-base is a library providing functionality that builds on the structure of a mapped next-book. It provides basic e-reading functionalities.
See an example of an e-book created with the next-book tools.
Some web tech knowledge and command line use is needed to produce a next-book at the time. But we‘re preparing an easier way right now! (If you want to know when it’s out, please subscribe to our newsletter 💌).
nb-mapper and nb-base dependenciesYou can install nb-mapper and nb-base:
yarn add nb-mapper nb-basenpm install nb-mapper nb-basenb-base styles in your SCSS@import './../../node_modules/nb-base/src/scss/style.scss';
nb-base module in your scriptsimport { initBook } from 'nb-base';
document.addEventListener('DOMContentLoaded', () => {
initBook();
});
You may include dist/nb-base.js and dist/nb-base.css in your next-book (before any other scripts.
You may use book.getState() to get current e-book state — it returns a serialized redux state with user data.
Clone repository and install devDependencies. Build a complete project with npm run build. Limit PRs only to changed source files.
nb-base © 2016–2020 next-book
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
FAQs
Next-book’s base browser library
We found that nb-base demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.