You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-aigis

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-aigis

For documenting CSS and generating styleguide

0.2.1
Source
npmnpm
Version published
Weekly downloads
525
-3.49%
Maintainers
2
Weekly downloads
 
Created
Source

aigis

Here's an example aigis comment.

/*
---
name: module_name
category:
    - button/standard
    - base
---

## This is a standard button module

* You can write markdown.

```html
<a class="btn">
  This is a Button
</a>
```

.btn {
  color: white;
  background-color: tomato;
  text-align: center;
  width: 200px;
  line-height: 40px;
  display: inline-block;
}

*/

Installation

npm install -g node-aigis

Config file

name: StyleGuide Name
source:
    - ./path/to/source/foder
    - /path/to/source/file.css
dest: ./path/to/destination
dependencies:
    - ./build
timestamp_format: YYYY/MM/DD HH:mm
template: ./path/to/template
md_class:
    blockquote: [className]
    heading: [className]
    hr: [className]
    list: [className]
    paragraph: [className]
    table: [className]
    tablrow: [className]
    tablecell: [className]
    link: [className]
    image: [className]
highlight: true
highlight_theme: dracula
inject:
    - html
    - jade
    - js
    - coffee

Generate style guide.

aigis ./path/to/aigis_config.yml

Others

  • gulp plugin
  • Styleguide Template

FAQs

Package last updated on 16 Dec 2015

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