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

doxli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doxli - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

test/util3.js

19

doxli.js

@@ -8,5 +8,10 @@ var util = require('util');

return function () {
var comment = djs.filter(function (i) {
return (i.ctx && i.ctx.name === name);
})[0];
var comment = null;
if (name) {
comment = djs.filter(function (i) {
return (i.ctx && i.ctx.name === name);
})[0];
} else {
comment = djs[0];
}
if (!comment) {

@@ -61,6 +66,10 @@ return console.log("Sorry, no dox comments for " + name);

djs = dox.parseComments(fs.readFileSync(path).toString());
for (i in mod) {
mod[i].help = getdox(i);
if (typeof mod === 'object') {
for (i in mod) {
mod[i].help = getdox(i);
}
} else if (typeof mod === 'function') {
mod.help = getdox();
}
}
{
"name": "doxli",
"version": "1.0.3",
"version": "1.0.4",
"description": "Get dox documentation for modules on the command line.",

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

#!/usr/bin/env node
var u = require('./util2.js');
u.escape.help();
u.countfoo.help();
var u2= require('./util2.js');
u2.escape.help();
u2.countfoo.help();
var u3 = require('./util3.js');
var doxli = require('../doxli');
doxli(u3);
u3.help();
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