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
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
7.63 kB
Created
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