
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
nativescript-loki
Advanced tools
Thin wrapper around Loki and Loki NativeScript adapter
LokiJS is a document oriented database written in javascript, published under MIT License. Its purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism. - LokiJS
Run the following command from the /app
directory of your project:
$ npm install nativescript-loki --save
// Requirements
var Loki = require("./node_modules/nativescript-loki/nativescript-loki.js");
// Setup Loki
var db = new Loki("loki", { autosave: true });
// Check if database exists
if(db.exists()) {
console.log("Database exists");
}
// Rename database
db.rename("new-name").then(function() {
console.log("Database renamed");
});
// Remove database
db.remove().then(function() {
console.log("Database removed");
});
The thanks goes to sect2k who has inspired me to create this package.
To go deeper in Loki have a look at the documentation.
FAQs
Thin wrapper around Loki and Loki NativeScript adapter
We found that nativescript-loki 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.