
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.
@bible-engine/core
Advanced tools
If you want to create a BibleEngine database, your starting point should be the importers package which includes helper classes and importers for bible formats like OSIS and sword.
However you can also use core methods directly for writing if you prefer that:
import { BibleEngine } from '@bible-engine/core';
const bibleEngine = new BibleEngine(
kyselyDb // the Kysely database instance for local access
);
const version = await bibleEngine.addVersion(
new BibleVersion({
version: 'XSB',
title: 'X Standard Bible',
language: 'en-US',
chapterVerseSeparator: ':',
})
);
const books = [{ num: 1, file: 'gen.xml' }];
for (const book of books) {
/*
* Of course the real magic needs to happen in the following line.
* Your method needs to return data as defined in `models/BibleInput.ts`
*/
const contents = myParserMethod(book.file);
await bibleEngine.addBookWithContent(version.id, {
book: {
number: book.num,
osisId: getOsisIdFromBookGenericId(book.num),
abbreviation: book.abbr,
title: book.title,
type: 'ot',
},
contents,
});
}
bibleEngine.finalizeVersion(version.id);
BibleEngineIf you want to read from a BibleEngine database or server, your starting point should be the client package which takes care of using a local database with an automatic server-fallback (if data is missing or if you want to use the same code for web- and native app).
Example for reading data from a local BibleEngine database using core-methods (e.g. if server-access is not needed):
import { BibleEngine } from '@bible-engine/core';
const bibleEngine = new BibleEngine({
type: 'sqlite',
database: `${dirProjectRoot}/output/bible.db`,
});
const bibleData = await bibleEngine.getFullDataForReferenceRange({
versionUid: 'ESV',
bookOsisId: 'Gen',
versionChapterNum: 1,
});
FAQs
## Writing data
We found that @bible-engine/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
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.