0.1.9 • Published 4 years ago

module-version-switcher v0.1.9

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Module Version Switcher

Example

discord.js dev

const mvs = require('module-version-switcher');
const Discord = mvs('discord.js').require('dev');

discord.js v12.5.3

const mvs = require('module-version-switcher');
const Discord = mvs('discord.js').require('12.5.3');

node-fetch cjs

const mvs = require('module-version-switcher');
const fetch = mvs('node-fetch').require('cjs');

node-fetch latest(ES Module)

import mvs from 'module-version-switcher';
const { default: fetch } = await mvs('node-fetch').import('latest');
0.1.9

4 years ago

0.1.10

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago