Socket
Socket
Sign inDemoInstall

generate-guestlist

Package Overview
Dependencies
3
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generate-guestlist

## Introduction This script provides a means to quickly generate a guestlist.


Version published
Weekly downloads
1
Maintainers
1
Install size
5.47 MB
Created
Weekly downloads
 

Readme

Source

generate-guestlist

Introduction

This script provides a means to quickly generate a guestlist.

Using generate-guestlist

From the root of the monorepo, run the following to create a guestlist using the default flags:

npm run generate:guestlist

You can pass flags to this command to overwrite default values.

Options: -g, --guest-count number of guests (default: 50) -o, --output path to csv file (default: "/Users//Desktop/") -n, --name name of csv file (default: "guestlist") -s, --seed seed to generate random data (default: 1234567890) -m, --meals number of unique meal tags (default: 5) -t, --tags number of unique tags (default: 5) -r, --group number of unique group tags (default: ((guestCount * density) / 1000)) -c, --custom-cols comma separated list of custom col names (default: null) -b, --blacklist comma separated list of col names to skip data generation for (default: null) -w, --whitelist comma separated list of col names to fill with data (default: null) -d, --density percent of cells with data (default: 100) -h, --help display help for command

Sample usage:

npm run generate:guestlist -- -g 500 -n test-list-500

will create a guestlist with 500 guests named "test-list-500.csv"

FAQs

Last updated on 04 May 2020

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