
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
strapi-seed
Advanced tools
Quickly seed your data via JSON files.
Create inside of Strapi admin or copy and paste from your favorite code editor.
Does not support yet:
Components Dynamic zones Images from computer (Does support an array of image URLs!)
yarn add strapi-seed
Ignore any files that are created in the seed folder, so that your server doesn't restart when seeding.
watchIgnoreFiles: ["**/seeds/**"],
Enable it in your plugins.js file
"strapi-seed": {
enabled: true
}
{
"modelname":
"field": "value",
}
{
"customer": [
"firstName": "John",
"lastName": "Smith",
"email": "jsmith@example.com",
"profilePicture: { images: ["https://aws.johnsmithprofilepic.png"] },
"products: { relations: ["gym_subscription", "weekly_food_delivery_service"] }
]
}
Each file is an array of collection items. In this case an array of JSON objects for the model customer.
If you want to quickstart your JSON file, navigate to strapi-seed in admin and select the model you want to create items for and copy the template that populates. :)
FAQs
Create seed data for strapi
The npm package strapi-seed receives a total of 9 weekly downloads. As such, strapi-seed popularity was classified as not popular.
We found that strapi-seed 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.