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

uispec

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

uispec

https://github.com/pxgrid/ui-spec-md を元に、

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

uispec

https://github.com/pxgrid/ui-spec-md を元に、

  • gulp依存を外した
  • cli用意した
  • serveできるように
  • template(theme)を自分でカスタマイズしたものを使えるように
  • filelistの自動生成追加

などしたもの。

現状、取り敢えず使える状態にまでなっているが、ほんとにざっくりという感じ。

Usage

const express = require('express');
const uispec = require('uispec');
const app = express();
const port = process.env.PORT || 3000;
const publicDir = 'public/';

const uispecOptions = {
  srcDir: 'src/uispec/',
  serveDir: '/_uispec',
  destDir: 'dest/uispec/',
  themeDir: 'custom-theme/'
};

const myUispec = uispec(uispecOptions);

app.use(express.static(publicDir));
app.use(myUispec.serve());
app.listen(port);

APIs

serve() generate() clean()

Commands

uispec init uispec serve uispec generate uispec clean

FAQs

Package last updated on 29 Oct 2018

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