swlh

Node_Modules Did Nothing Wrong.

NPM is planning on integrating Tink. Yarn 2 introduced PnP. The two biggest package managers in the ECMAScript ecosystem, are both starting to steer away from the node_modules directory. At least Tink is keeping the ability to “unwind” for backwards compatibility, and NPM is trying to play nice with the community (See “Play Nicer with Yarn”).At the heart of this is “the node_modules problem”. This is a short title...

github

ESlint plugin for sorting requires (CommonJS modules) alphabetically

zcuric/eslint-plugin-require-sort ESlint plugin for sorting requires (CommonJS modules) alphabetically Users starred: 32Users forked: 1Users watching: 32Updated at: 2020-05-21 00:56:59 eslint-plugin-require-sort Introduction Installation Usage Rule Details Options Examples Default settings ignoreCase ignoreDeclarationSort ignorePropertySort propertySyntaxSortOrder Credits Contributions License Introduction What is...

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
github

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,

webpack/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,...

github

CommonJS exports for Nim

nepeckman/jsExport.nim CommonJS exports for Nim Users starred: 8Users forked: 0Users watching: 8Updated at: 2020-05-08 17:02:25 jsExport.nim CommonJS exports for Nim What is this? A simple Nim macro that allows you to export Nim procs and objects to JavaScript via CommonJS modules. The macro produces module.exports statements from the given input. Why is this? This macro was written in order to descrease friction between...

github

JavaScript import/require module testing do's and don'ts with Jest

HugoDF/mock-spy-module-import JavaScript import/require module testing do's and don'ts with Jest Users starred: 10Users forked: 3Users watching: 10Updated at: 2020-05-06 15:10:08 Mock/Spy module imports or internals with Jest JavaScript import/require module testing do's and don'ts with Jest Requirements Node 10 Yarn 1.x Setup Clone the repository Run yarn: installs all required dependencies. Run yarn test to run all the...