npm.io
0.1.4 • Published 4 years agoCLI

@gabrielrufino/fill

Licence
UNLICENSED
Version
0.1.4
Deps
6
Size
24 kB
Vulns
6
Weekly
0

fill

Fill databases with dummy data using yaml files

Getting started

npm i -g @gabrielrufino/fill
fill config.yml

Config file

version: 0

config:
  connection:
    type: postgres
    host: localhost
    port: 5432
    user: root
    pass: root
    database: testing
  tables:
    - name: users
      quantity: 300
      columns:
        - name: name
          generator: 'name.findName'
        - name: company
          value: Dell

Keywords