RequireJS
babel-sublime
Our great sponsors
RequireJS | babel-sublime | |
---|---|---|
15 | 145 | |
12,923 | 3,256 | |
-0.0% | -0.1% | |
0.0 | 1.5 | |
3 months ago | 12 months ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RequireJS
-
Why hasn't JavaScript implemented namespaces yet?
There is a library called requirejs (https://requirejs.org/) that accomplishes what I am referring to. However, this is essentially similar to the situation in PHP prior to version 5.3 - a solution implemented at the level of a separate library rather than at the language level.
- Porting from RequireJS to ES6
-
Getting Started With Parcel.js: A Web Application Bundler in 2022
Webpack is the most popular bundler and it followed on the heels of Require.js, Rollup, and similar solutions. But the learning curve for a tool like webpack is steep. Getting started with webpack isn’t easy due to its complex configurations. As a result, in recent years another solution has emerged. This tool is not necessarily a front-runner, but an easier-to-digest alternative on the front-end module bundler landscape. Introducing Parcel.js.
- RequireJS – JavaScript Module Loader (last update 2018?)
-
RequireJS: How to define modules that contain a single "class"?
I have a number of JavaScript "classes" each implemented in its own JavaScript file. For development those files are loaded individually, and for production they are concatenated, but in both cases I have to manually define a loading order, making sure that B comes after A if B uses A. I am planning to use RequireJS as an implementation of CommonJS Modules/AsynchronousDefinition to solve this problem for me automatically.
-
When to use Requirejs and when to use bundled javascript?
This may be a dumb question for web guys. But I am a little confused over this. Now, I have an application where I am using a couple of Javascript files to perform different tasks. Now, I am using Javascript bundler to combine and minify all the files. So, at runtime there will be only one app.min.js file. Now, Requirejs is used to load modules or files at runtime. So, the question is if I already have all things in one file, then do I need requirejs? Or what is a use case scenario where I can use requirejs and/or bundler?
- Un manual práctico sobre los sistemas de módulos de JavaScript
-
JavaScript Module Formats and Tools
AMD (Asynchronous Module Definition), is a pattern to define and consume module. It is implemented by RequireJS library. AMD provides a define function to define module, which accepts the module name, dependent modules’ names, and a factory function:
-
Why use Object.prototype.hasOwnProperty.call(myObj, prop) instead of myObj.hasOwnProperty(prop)?
While reading RequireJS' source code, I stumbled upon this function:
-
Why do we need a Single Page Application? [closed]
A lot of SPA frameworks and libraries also were developed. We can find out some of its on the internet. They are AngularJs, Reactjs, BackboneJs, DurandalJs,.. and a lot of third party components to make the Javascript coding more easy like RequireJs, Amplifyjs, BreezeJs...
babel-sublime
-
What is an Abstract Syntax Tree in Programming?
GitHub | Website
-
How, and why, you should add JavaScript linting to your project. With ESLint and Gulp
Some of the most popular JavaScript linting tools are ESLint, JSHint, JSLint and JSCS. We're going to be using ESLint. It’s very flexible, easy to use and has the best ES6 support, which will be helpful if we introduce more modern JavaScript (that will be transpiled for older browsers using https://babeljs.io/). All rules for ESLint can be found here: https://eslint.org/docs/rules/.
-
What is Server Side Rendering (SSR) and Static Site Generation (SSG)?
This simply extends the existing build process that many front-end frameworks have. After Babel's done with its transpilation, it merely executes code to compile your initial screen into static HTML and CSS. This isn't entirely dissimilar from how SSR hydrates your initial screen, but it's done at compile-time, not at request time.
-
Storybook 8 Beta
First, we switched the default compiler for new projects from Babel to SWC (Speedy Web Compiler). SWC is dramatically faster than Babel and requires zero configuration. We’ll continue to support Babel in any project currently using it.
-
Nuxt vs Next: Which JavaScript Framework Suits Your Next Project?
Nuxt.js is an open-source JavaScript framework built on Vue.js, Node.js, Vite, and Babel.js used for creating fast, cutting-edge applications. Nuxt.js possesses similar features to Next.js, with the major difference being the web framework it is compatible with. Next.js is a React framework whereas Nuxt.js is a Vue framework.
-
Abstract Syntax Trees and Practical Applications in JavaScript
Disclaimer: If you've already developed Babel or ESLint plugins, this article may not be as beneficial for you, as you're likely already familiar with the majority of the content covered here.
-
How To Choose the Best Static Site Generator and Deploy it to Kinsta for Free
Preprocessors: SSGs leverage preprocessors to streamline the development process. Preprocessors like SASS for CSS or Babel for JavaScript offer additional features and simplify code development.
-
Learn Next.js Server Side Rendering by building your own implementation
To transpile our code, we will use Babel - a JavaScript compiler, that will generate files Node.js is happy with, and Webpack - a JavaScript bundler, that will bundle our code and automate the compilation step.
-
My prepared repositories for hacktoberfest 23 - any contributions are welcomed 🚀
Can be used with promises, Node-style callbacks, ES6 generators and async/await (using Babel).
-
The Ascent of Node.js: How a runtime changed the Web
Growth in Tooling: Tools like Babel allowed developers to use the latest JavaScript features without waiting for Node.js support, while Webpack streamlined bundling and module loading.
What are some alternatives?
systemjs - Dynamic ES module loader
v8.dev - The source code of v8.dev, the official website of the V8 project.
browserify - browser-side require() the node.js way
prettier - Prettier is an opinionated code formatter.
HeadJS - The only script in your HEAD.
vim-react-snippets - Useful snippets for developing in React (Javascript and Typescript)
SeaJS - A Module Loader for the Web
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.
lazyload
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
modulejs - Lightweight JavaScript module system.
vue-template-babel-compiler-nuxt-project - vue-template-babel-compiler(https://github.com/JuniorTour/vue-template-babel-compiler) DEMO project for nuxt.js