{"id":19603383,"url":"https://github.com/rsify/figify","last_synced_at":"2025-08-10T15:06:47.648Z","repository":{"id":98218839,"uuid":"93192662","full_name":"rsify/figify","owner":"rsify","description":"browserify transform for fig framework","archived":false,"fork":false,"pushed_at":"2017-08-19T08:31:18.000Z","size":150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T15:47:35.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsify.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-02T18:18:55.000Z","updated_at":"2017-06-03T10:37:25.000Z","dependencies_parsed_at":"2023-05-18T17:00:53.178Z","dependency_job_id":null,"html_url":"https://github.com/rsify/figify","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/rsify/figify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsify%2Ffigify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsify%2Ffigify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsify%2Ffigify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsify%2Ffigify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsify","download_url":"https://codeload.github.com/rsify/figify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsify%2Ffigify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269740342,"owners_count":24467754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T09:29:22.445Z","updated_at":"2025-08-10T15:06:47.620Z","avatar_url":"https://github.com/rsify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# figify ![stability](https://img.shields.io/badge/stability-experimental-orange.svg)\n\u003e [fig.js](http://github.com/nikersify/fig) browserify transform\n\n[![npm](https://img.shields.io/npm/v/figify.svg)](https://www.npmjs.com/package/figify)\n[![travis](https://travis-ci.org/nikersify/figify.svg?branch=master)](https://travis-ci.org/nikersify/figify)\n\n# introduction\n\nUnlike some other \u003csup\u003eehm... good\u003c/sup\u003e 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.\n\nFigify attempts to transform all files you require in your app that end in `.pug` or `.fig` into modules that export a [compiled](https://github.com/nikersify/fig-compiler) fig component.\n\n# usage\n\n## cli\n\n### `browserify \u003cinput\u003e -t figify -o \u003coutput\u003e`\n\n## api\n```js\nconst browserify = require('browserify')\nconst figify = require('figify')\n\nconst b = browserify('main.js')\nb.transform(figify)\n\nb.bundle().pipe(process.stdout)\n```\n\n# install\n\n`npm install figify --save`\n\n# license\n\nMIT\n\n# related\n\n- [fig.js](https://github.com/nikersify/fig) - experimental front-end ui framework\n- [fig-compiler](https://github.com/nikersify/fig-compiler) - fig.js component compiler\n- [fig-web](https://github.com/nikersify/fig-web) - fig.js website\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsify%2Ffigify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsify%2Ffigify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsify%2Ffigify/lists"}