Socket
Socket
Sign inDemoInstall

docrope

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docrope - npm Package Compare versions

Comparing version 0.0.0-dev to 0.0.0

2

package.json
{
"name": "docrope",
"version": "0.0.0-dev",
"version": "0.0.0",
"description": "Extremely simple JavaScript document generator.",

@@ -5,0 +5,0 @@ "main": "index.js",

Docrope
====
Docrope is simple JavaScript document generator.
Docrope is extremely simple JavaScript document generator.

@@ -11,4 +11,8 @@ > NOTE: `docrope` is WIP

@TODO
```
var docrope = require('docrope');
console.log(docrope('./hoge.js'));
```
License

@@ -15,0 +19,0 @@ ----

@@ -56,6 +56,8 @@ var esprima = require('esprima');

var tags = comment.tags = [];
var tagDict = comment.tagDict = {};
while (matches = regex.exec(comment.value)) {
var name = matches[1];
var tag = {
name: matches[1],
name: name,
value: typeof matches[2] === 'string' ? matches[2] : '',

@@ -65,2 +67,4 @@ file: file

tags.push(tag);
tagDict[name] = tagDict[name] || [];
tagDict[name].push(tag);
}

@@ -67,0 +71,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