🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

jsreadme

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsreadme - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+3
-1
jsreadme.js

@@ -26,4 +26,6 @@ /***

function toExampleFunc( func ){
if( func.toString().match( /[0-9a-zA-Z_\$]+\([^\)]*\)\{/ ) ){
if( func.toString().match( /[0-9a-zA-Z_\$]+\([^\)]*\)\s*\{/ ) ){
return func.toString().slice( 0, func.toString().indexOf( "){" ) + 1 )
} else if( func.toString().match( /\bclass\b/ ) ){
return func.toString().slice( 0, func.toString().indexOf( "{" ) )
} else {

@@ -30,0 +32,0 @@ return func.toString().slice( 0, func.toString().indexOf( "=>" ) + 1 )

{
"name": "jsreadme",
"version": "1.0.0",
"version": "1.0.1",
"description": "JS module used to generate the README for Js projects",

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