🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

collect-require

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collect-require

collect require-js based codebase into a singel js file

1.4.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

collect-require

  • Converts a require-js based code into standalone scripts for browsers and Rhino/Nashorn Engine.
  • Keeps the generated code as close as possible to real code base.
  • Doest not support requiring other npm modules

Usage

var collector = require("collect-require"),
    baseDir   = "src",
    main      = "index.js",
    output    = "dist/jeyson.js";

collector.collect(baseDir).save({
  path    : output,
  main    : main ,
  apiName : "Jeyson",
});

Development

  • Run Test
npm run test

Keywords

collect-require

FAQs

Package last updated on 13 Oct 2016

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