Socket
Socket
Sign inDemoInstall

fabricators

Package Overview
Dependencies
0
Maintainers
1
Versions
334
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabricators

Create And Modify Files From Templates Or Grids


Version published
Maintainers
1
Weekly downloads
1
Install size
7.63 kB

Weekly downloads

Readme

Source

fabricators

Fabricators β€” Create And Modify Files From Templates Or Grids

THIS PROJECT IS STILL IN THE DESIGN PHASE

IDEAS & CONTRIBUTIONS ARE WELCOME

An Open Source Universe Project


Contents

Features ✨

  • Custom Template Syntax Planned
  • Generate Form from Template File Planned
  • Fill Template Form using data in a BigParser Grid Planned
  • Fill Multiple Templates at once using a fabricators BigParser Grid Planned

Install πŸ› 

npm install fabricators

Usage πŸ”­

Read more about the Design behind fabricators here.

{name}.txt

// FABRIC: { name: 'string', birthday: 'date' }
Hello <%= name%>!<%
  if (
    birthday.getDay() === new Date().getDay()
    && birthday.getMonth() === new Date().getMonth()
  ) {
    print('Happy Birthday!')
  }
%>
$ fabricators --template template.txt
name: Anubis
birthday: 07/30/2001

$ cat anubis.txt
Hello Anubis! Happy Birthday!

$ fabricators --template template.txt --gridId yourGridIdWithNameAndBirthdayColumns

$ ls -1
anubis.txt
dan.txt
dom.txt
sarah.txt
ed.txt
...

Documentation πŸ›°

fabricators is under active development, documentation will be added once an initial release is ready.

Contributing 🌎

We would love for you to contribute your ideas, code, & fixes to fabricators.

We encourage everyone to read our Design Document to learn more about the thought process behind fabricators.

Also check out the rewards offered for contributing to the Open Source Universe.

License βš–οΈ

MIT

Keywords

FAQs

Last updated on 29 Aug 2023

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