New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

autostyles

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autostyles

Transforms css into automatic style guides.

latest
Source
npmnpm
Version
1.1.9
Version published
Maintainers
1
Created
Source

autostyles

NPM module for transforming css into automatic style guides.

js-semistandard-style

Install (Privately)

npm install --save-dev autostyles

Run (Privately)

  • add these lines to your package.json
"scripts": {
  "styleguide": "buildguide",
}

THEN

npm run styleguide

OR

Install (Globally)

npm install autostyles -g

Usage (Globally)

buildguide

You will be prompted for the source & destination folders. This information will be used to generate your style guide.

  • ✔ Turn debug on to get log info? yes
  • ✔ Source folder ./my-css Source folder containing css files
  • ✔ Destination folder dist Destination folder final guide files

Examples

The css files located inside the /css folder

  /css
    |-- sample.css
    |-- sample2.css

are transformed into

/dist
  |-- index.html
  |-- page0.html
  |-- page1.html
  |-- css
        |-- autostyles.css
        |-- autostyles.js
        |-- sample.css
        |-- sample2.css

Keywords

css

FAQs

Package last updated on 11 Dec 2021

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