Displaying 1 to 20 from 220 results

load-grunt-tasks - Load multiple grunt tasks using globbing patterns

  •    Javascript

🔥 Want to strengthen your core JavaScript skills and master ES6? I would personally recommend this awesome ES6 course by Wes Bos.Usually you would have to load each task one by one, which is unnecessarily cumbersome.

proxyquire - 🔮 Proxies nodejs require in order to allow overriding dependencies during testing.

  •    Javascript

Proxies nodejs's require in order to make overriding dependencies during testing easy while staying totally unobtrusive. If you want to stub dependencies for your client side modules, try proxyquireify, a proxyquire for browserify v2 or proxyquire-universal to test in both Node and the browser.

mockery - Simplifying the use of mocks with Node.js

  •    Javascript

If you've tried working with mocks in Node.js, you've no doubt discovered that it's not so easy to get your mocks hooked up in the face of Node's module loading system. When your source-under-test pulls in its dependencies through require, you want your mocks provided, instead of the original module, to enable true unit testing of your code. This is exactly the problem Mockery is designed to solve. Mockery gives you a simple and easy to use API with which you can hook in your mocks without having to get your hands dirty with the require cache or other Node implementation details.

rewire - Easy monkey-patching for node.js unit tests

  •    Javascript

Please note: The current version of rewire is only compatible with CommonJS modules. See Limitations. rewire acts exactly like require. With just one difference: Your module will now export a special setter and getter for private variables.




madge - Create graphs from your CommonJS, AMD or ES6 module dependencies

  •    Javascript

Madge is a developer tool for generating a visual graph of your module dependencies, finding circular dependencies, and give you other useful info. Joel Kemp's awesome dependency-tree is used for extracting the dependency tree. Read the changelog for latest changes.

gulp-load-plugins - Automatically load in gulp plugins

  •    Javascript

Loads gulp plugins from package dependencies and attaches them to an object of your choice. You can then use the plugins just like you would if you'd manually required them, but referring to them as plugins.name(), rather than just name().

headjs - The only script in your HEAD.

  •    Javascript

HeadJS: Responsive Design, Feature Detections & Asset Loading. The only script in your <HEAD>

babel-plugin-module-resolver - Custom module resolver plugin for Babel

  •    Javascript

A Babel plugin to add a new resolver for your modules when compiling your code using Babel. This plugin allows you to add new "root" directories that contain your modules. It also allows you to setup a custom alias for directories, specific files, or even other npm modules. This plugin can simplify the require/import paths in your project. For example, instead of using complex relative paths like ../../../../utils/my-utils, you can write utils/my-utils. It will allow you to work faster since you won't need to calculate how many levels of directory you have to go up before accessing the file.


reify - Enable ECMAScript 2015 modules in Node today. No caveats. Full stop.

  •    Javascript

Code generated by the reify compiler relies on a simple runtime API that can be explained through a series of examples. While you do not have to write this API by hand, it is designed to be easily human readable and writable, in part because that makes it easier to explain. I will explain the Module.prototype.watch method first, then the Module.prototype.export method after that. Note that this Module is the constructor of the CommonJS module object, and the import and export methods are custom additions to Module.prototype.

colony - :chart_with_upwards_trend: In-browser network graphs representing the links between your Node

  •    Javascript

In-browser graphs representing the links between your Node.js code and its dependencies.This will traverse app.js's dependencies and dump the necessary static HTML/CSS/JS files to the ./colony directory, this page being ./colony/index.html. Then it's just a matter of serving it up using something like serve, NGINX or plain old Apache.

esnextbin - :boom: Create browser programs in ESNext code and import modules from NPM in browser

  •    Javascript

Create browser programs with ES2015's latest features and use modules from NPM directly in your browser.Under the hood it's pure client-side application which is hosted on GitHub pages and is built upon React.js.

dependo - Visualize your CommonJS or AMD module dependencies in a force directed graph report.

  •    HTML

Visualize your CommonJS, AMD, or ES6 module dependencies in a force directed graph report - powered by D3.js. Let me introduce dependo - A small visualization tool that draws an force directed graph of JavaScript dependencies pulled from a codebase of CommonJS, AMD, or ES6. Behind the scene I’m using a wonderful library named node-madge, to extract the dependencies and combined with the power of D3.js I draw a beautiful zoomable directed graph.

eslint-plugin-node - Additional ESLint's rules for Node.js

  •    Javascript

Note: It recommends a use of the "engines" field of package.json. The "engines" field is used by node/no-unsupported-features/* rules. eslint-plugin-node follows semantic versioning and ESLint's Semantic Versioning Policy.

wavy - use ~ in require and import calls

  •    Javascript

use `~` in require and import calls

css-modules-require-hook - A require hook to compile CSS Modules in runtime

  •    Javascript

The require hook compiles CSS Modules in runtime. This is similar to Babel's babel/register. See the example: demo. A CSS Module is a CSS file in which all class names and animation names are scoped locally by default. Learn more in the article CSS Modules - Welcome to the Future by Glen Maddern.

modules-webmake - Bundle CommonJS/Node.js modules for web browser

  •    Javascript

Bundle CommonJS/Node.js modules for web browsers. Webmake allows you to organize JavaScript code for the browser the same way as you do for Node.js.

node-sandboxed-module - A sandboxed node

  •    Javascript

A sandboxed node.js module loader that lets you inject dependencies into your modules.This module is intended to ease dependency injection for unit testing. However, feel free to use it for whatever crimes you can think of.

melchior.js - Chainable Module Definition (CMD) dependency loader for JavaScript

  •    Javascript

Tiny JavaScript in-browser module loader that implements Chainable Module Definition API.Melchior is the first library that fully implements the Draft proposed by John Wu and brings to life "the most javascripty" way to configure modules and its dependencies for in-browser use.

uRequire - The Ultimate JavaScript Module Builder & Automagical Task Runner

  •    CoffeeScript

Docs / wiki / http://uRequire.org mainly are Work In Progress (in transition from v0.6.x) - but everything should work except you'll need npm install urequire-cli -g & npm install urequire locally (if you are using the CLI urequire instead of the the recommended grunt-urequire). Check uRequire's master config / docs for up to date usage. conversion from AMD or CommonJs (or a combination of both) to UMD or combined (<script>, AMD & nodejs compatible) javascript.