JSPM

@gabrielrufino/fill

0.1.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q29159F
  • License UNLICENSED

Fill databases with dummy data using yaml files

Package Exports

  • @gabrielrufino/fill
  • @gabrielrufino/fill/build/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gabrielrufino/fill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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