Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

figify

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

figify

fig.js browserify transform

  • 0.1.3
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by1200%
Maintainers
1
Weekly downloads
 
Created
Source

figify stability

fig.js browserify transform

npm travis

introduction

Unlike some other ehm... good frameworks, all components in fig have to be compiled in order for fig.js to digest them correctly. This limitation is posed due to the fact that packing the whole pug library into a browser package is damn non-sensical considering how much it weights by itself (minified or not), increasing the size of fig.js by two orders of magnitude (rough estimate). If you already know how to use browserify, just use figify as a transform.

Figify attempts to transform all files you require in your app that end in .pug or .fig into modules that export a compiled fig component.

usage

cli

browserify <input> -t figify -o <output>

api

const browserify = require('browserify')
const figify = require('figify')

const b = browserify('main.js')
b.transform(figify)

b.bundle().pipe(process.stdout)

install

npm install figify --save

license

MIT

  • fig.js - experimental front-end ui framework
  • fig-compiler - fig.js component compiler
  • fig-web - fig.js website

FAQs

Package last updated on 06 Aug 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc