importtariff
v1.0.0
Published
A TS port of the [Tariff Python Package](https://pypi.org/project/tariff/)
Readme
Tariff
A TS port of the Tariff Python Package
Make Imports Great Again
Usage:
Javascript:
const { tariff, tariffedRequire } = require("importtariff")
tarrif({
react: 200
});
const react = tariffedRequire("react")
// 🇺🇸 JUST IMPOSED a 200% TARIFF on react! Original require took 1949 us, now takes 12576 us. Believe me, this is the BEST tariff! 🇺🇸Typescript:
import { tariff } from "importtariff"
tarrif({
react: 200
});
const react = await globalThis.import("react")
// 🇺🇸 JUST IMPOSED a 200% TARIFF on react! Original import took 1949 us, now takes 12576 us. American packages are WINNING AGAIN! 🇺🇸You can pause tariffs by rerunning the tariff function with an empty object
