Socket
Socket
Sign inDemoInstall

@chec/seeder

Package Overview
Dependencies
70
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @chec/seeder

A utility script to seed data in your Chec account from .json files


Version published
Weekly downloads
19
increased by90%
Maintainers
6
Install size
1.21 MB
Created
Weekly downloads
 

Readme

Source

Chec Seeder

Version License

A small utility to help with seeding data in your Chec dashboard

Download

npm install @chec/seeder

Configuring

You can define following properties as environment variables:

  • CHEC_SECRET_KEY - (required) - Your Chec secret API key.
  • CHEC_API_URL - (optional) - API URL, defaults to api.chec.io.

Usage

As a NPM script

Add a seed command to your package.json

{
    "scripts": {
        "seed": "chec-seed path/to/json/files"
    }
}

Global usage

This script can be installed globally:

npm install -g @chec/seeder

Then you can use this helper outside of a project to seed data easily, like so:

chec-seeder path/to/json/files

Within code

You can also use this package within your Node.js projects:

const seed = require('@chec/seeder');

seed('path/to/json/files');

FAQs

Last updated on 23 Jun 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc