All Projects â†’ stealjs â†’ Steal

stealjs / Steal

Licence: mit
Gets JavaScript

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Steal

Webpack
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Stars: ✭ 60,034 (+4337.1%)
Mutual labels:  build-tool, commonjs, amd, plugins
webpacker
🔸 Webpack configuration manager
Stars: ✭ 18 (-98.67%)
Mutual labels:  amd, plugins, build-tool
Node Dependency Tree
Get the dependency tree of a module
Stars: ✭ 383 (-71.69%)
Mutual labels:  commonjs, amd
Requirejs Demo
《RequreJS学习笔记》
Stars: ✭ 164 (-87.88%)
Mutual labels:  commonjs, amd
Pax
The fastest JavaScript bundler in the galaxy.
Stars: ✭ 2,626 (+94.09%)
Mutual labels:  build-tool, commonjs
nanobundle
Yet another build tool for libraries, powered by esbuild
Stars: ✭ 45 (-96.67%)
Mutual labels:  commonjs, build-tool
Parcel
The zero configuration build tool for the web. 📦🚀
Stars: ✭ 39,670 (+2832%)
Mutual labels:  build-tool, commonjs
babel-plugin-transform-amd-to-commonjs
✨ Babel plugin that transforms AMD to CommonJS
Stars: ✭ 44 (-96.75%)
Mutual labels:  commonjs, amd
array-sort-by
Powerful mechanism to sort arrays or array of objects by one or more properties. You can also specify a custom comparer function.
Stars: ✭ 37 (-97.27%)
Mutual labels:  commonjs, amd
Madge
Create graphs from your CommonJS, AMD or ES6 module dependencies
Stars: ✭ 5,635 (+316.48%)
Mutual labels:  commonjs, amd
Gatelessgatesharp
Gateless Gate Sharp is an user-friendly yet extremely powerful open-source multi-algorithm miner for Windows operating systems.
Stars: ✭ 86 (-93.64%)
Mutual labels:  amd
Mendel
A build toolchain for experimentation on isomorphic web applications with tree-inheritance and multivariate support.
Stars: ✭ 86 (-93.64%)
Mutual labels:  build-tool
Uncss
Remove unused styles from CSS
Stars: ✭ 9,170 (+577.75%)
Mutual labels:  build-tool
Supybot Plugins
Collection of plugins for Supybot/Limnoria I wrote or forked.
Stars: ✭ 96 (-92.9%)
Mutual labels:  plugins
Npm Scripts Info
Display the description of your npm scripts
Stars: ✭ 85 (-93.72%)
Mutual labels:  build-tool
Boon
A cross-platform build tool for LÖVE
Stars: ✭ 90 (-93.35%)
Mutual labels:  build-tool
Sylphy
👑 the better discord bot framework
Stars: ✭ 85 (-93.72%)
Mutual labels:  plugins
Dbuild
Multi-project build tool, based on sbt.
Stars: ✭ 84 (-93.79%)
Mutual labels:  build-tool
Waifu2x Ncnn Vulkan
waifu2x converter ncnn version, runs fast on intel / amd / nvidia GPU with vulkan
Stars: ✭ 1,258 (-7.02%)
Mutual labels:  amd
Typescript Restful Starter
Node.js + ExpressJS + Joi + Typeorm + Typescript + JWT + ES2015 + Clustering + Tslint + Mocha + Chai
Stars: ✭ 97 (-92.83%)
Mutual labels:  commonjs

steal

Join our Slack Join our Discourse License: MIT npm version Travis build status Greenkeeper badge

Sauce Test Status

In addition to a collection of plugins, StealJS is comprised of two main components:

  • steal: an extensible, universal module loader.
  • steal-tools: utilities for building, transforming, and exporting module formats.

This is the steal repository. For the tools, see https://github.com/stealjs/steal-tools.

Module Loading with steal

steal is unique because it can load JavaScript modules defined in ES6, AMD, and CommonJS formats (unlike most other module loaders, which only support one of these formats at a time).

In JavaScript, the word "modules" refers to small units of independent, reusable code. They are the foundation of many JavaScript design patterns, and can look like this in ES6:

export function hello() {
  console.log('hello');
}
export function goodbye() {
  console.log('goodbye');
}

Or like this in AMD:

define([], function() {
  return {
    hello: function() {
      console.log('hello');
    },
    goodbye: function() {
      console.log('goodbye');
    }
  };
});

Or like this CommonJS:

function hello() {
  console.log('hello');
}
function goodbye() {
  console.log('goodbye');
}
module.exports = {
  hello: hello,
  goodbye: goodbye
}

All of these formats are supported by steal, so you can mix and match modules in your project:

// ES6
import { hello, goodbye } from  "greetings";

// AMD
define(["greetings"],function(greetings){ ... });

// CommonJS
var hello = require('greetings').hello;
var goodbye = require('greetings').goodbye;

Additionally, plugins make it possible to load ANY module type you might come up with, such as Less or CSS. Anyone can write a plugin for steal to extend it's core module-loading functionality.

Extending steal with Plugins

The StealJS organization maintains popular plugins that extend and enhance the module-loading capabilities of steal (and, subsequently, steal-tools) such as:

For example, the Less plugin allows Less files to be loaded similarly to JavaScript modules:

// ES6
import "style.less";

// AMD
define(["style.less"],function(){ ... });

// CommonJS
require("style.less");

// steal
steal("style.less")

Looking to create a plugin for another format? See Writing Plugins.

For more information on StealJS, visit StealJS.com.

Contributing

For information on contributing and developing, see the Contributing Guide on StealJS.com.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].