Git Product home page Git Product logo

module-replacements's Introduction

module-replacements

This project provides two things:

  • A JS package containing manifests of suggested module replacements
  • Documentation for replacements which are not entirely replaced by native functionality

Replacements documentation

You can read more about module replacements and browse the list by clicking here.

module-replacements package

Usage

You can install this package via NPM:

npm i -S module-replacements

You can then import the manifest of your choice:

import {NativeReplacements} from 'module-replacements';

Manifests

We provide three manifests:

  • All (includes every manifest)
  • Native replacements (modules which can be replaced by native equivalents)
  • Optimisation replacements (modules which can be replaced by leaner or closer-to-the-platform equivalents)

Native replacements

These are modules which can now be replaced by native functionality.

For example, pseudo-polyfills which provide functionality of widely available platform features can be replaced by their platform equivalents.

Similarly, features which did not exist at the time but have now existed in the platform for many years, so no longer need a dependency.

Optimisation replacements

These are modules which have more optimal replacements.

For example, some modules have arguably unnecessarily deep dependencies trees, or rely on functionality themselves which fit into the "Native replacements" category. These should likely be replaced by leaner alternatives.

Another example - modules which are too granularly modularised, leading to unnecessarily large amounts of small dependencies (aka "micro dependencies").

Due to this being a one-to-many mapping (there are often many possible replacements), this list can contain multiple replacements per module.

Contributing

If you would like to add a replacement mapping to one of the manifests, please open an issue where this can be discussed.

Keep in mind, very newly available native features are unlikely to join the list since they are not widely available yet.

module-replacements's People

Contributors

43081j avatar lehoczky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.