Socket
Socket
Sign inDemoInstall

live-guide

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

live-guide - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

2

package.json
{
"name": "live-guide",
"version": "0.6.4",
"version": "0.6.5",
"description": "Generate style guides based on commented style sheets.",

@@ -5,0 +5,0 @@ "author": {

@@ -26,2 +26,16 @@ live-guide

```
## Command Line API
```shell
Options:
--input, -i file(s) (glob pattern) that should be evaulated and built into
the Styleguide [required]
--output, -o Where should the output styleguide go? Defaults to current
working directory /styleguide
--resource, -r additional resources to be loaded into the code example
iframes [array]
--name, -n name for the style guide or product
--help, -h Show help [boolean]
```
## Module API

@@ -28,0 +42,0 @@

@@ -10,3 +10,3 @@ 'use strict';

obj.description = obj.description ? `**Description:** ${obj.description}` : '';
obj.notes = obj.notes ? `*${obj.notes}*` : '';
obj.notes = obj.notes ? `*${obj.notes}*\n` : '';
obj.example = obj.example ? `**Example:**\n\`\`\`\n${obj.example.join('\n\n')}\n\`\`\`` : '';

@@ -17,5 +17,3 @@

${obj.description}
${obj.notes}
${obj.example}

@@ -22,0 +20,0 @@ `;

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