
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
Jet file is a lightweight utility designed for realtime services, data viability and security. It's designed to work using JSON as a file format.
JetStore, it's the future JetFile working system. You should try it !Jet File automatically handles directory creation to avoid any runtime errors with missing directories while creating a file.
It also handles file creation if the file don't exists.
To create a new Jet File instance, use the JetFile class and specify the path to the desired file.
import { JetFile } from "jet-file";
const instance = new JetFile("path/to/file.json");
JetFile.set(key, value) add a new value in the file.
JetFile.get(key) return the value of a key from the file.
// ...
// EXPRESS CONFIGURATION
// WE ALSO IMPORT "v4" from "uuid"
// ...
const database = new JetFile("db.json");
app.post("/new-user", (req, res) => {
const uuid = v4(); // unique id of the user
database.set(
uuid,
{name: req.query.name} // data about our user
);
res.send(uuid); // we send the uuid of the user back
});
app.post("/get-user", (req, res) => {
// we send data about the user read from the database
res.send(database.get(req.query.uuid));
});
JetStore is somewhat an improvement of JetFile and adresses many issues JetFile have.
You'll see below all the issues and improvements JetStore brings over JetFile:
You'll see below a list of changes in how JetStore operates compared to JetFile:
const store = new JetStore("store/location");
// sets a key
store.editKey(name, value);
// gets a key
store.readKey<T>(name, value);
// read all the keys of this store
store.getEntries();
FAQs
An efficient, production-ready, encrypted database utility.
We found that jet-file 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.