
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
node-file-json
Advanced tools
Read JSON from a file and work on it dynamically. You can even use the JSON file as a small database. If file does not exist, one will be created for you.
Read JSON from a file and work on it dynamically. You can even use the JSON file as a small database. If file does not exist, one will be created for you.
Usage:
Load JSON file, if it does not exist, it will be created automatically.
var fileJson = require("node-file-json");
var json = new fileJson();
json.load("product.json");
Modify JSON data
json.data.property1 = "First property";
json.data.property2 = {name: "Product name", details: "These are some details."};
Save JSON data
json.save();
Data will be saved in the file as defined in .load() to be read any time.
If any errors occur during loading/creating JSON file, check console log.
JSON in file is saved properly with indents. To modify indent value, add it to options, example:
json.load("product.json", {indent: 4});
Clear JSON data
json.clear();
FAQs
Read JSON from a file and work on it dynamically. You can even use the JSON file as a small database. If file does not exist, one will be created for you.
The npm package node-file-json receives a total of 1 weekly downloads. As such, node-file-json popularity was classified as not popular.
We found that node-file-json 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.