isomorphic-typescript-project-test
v0.0.9
Published
## Node.js The installation method differs depending on whether your project is using ESM modules or CJS modules.
Readme
Installation
Node.js
The installation method differs depending on whether your project is using ESM modules or CJS modules.
ESM
NPM
npm install --save isomorphic-typescript-project
Yarn
yarn add isomorphic-typescript-project
CommonJS
NPM
Add the following to your package.json:
"overrides": {
"isomorphic-typescript-project-test": {
"node-fetch": "2.6.7"
}
}npm install --save isomorphic-typescript-project-test
Yarn
Add the following to your package.json:
"resolutions": {
"isomorphic-typescript-project-test/**/node-fetch": "2.6.7"
}yarn add isomorphic-typescript-project-test
Browser
Webpack / Rollup
import Features from 'isomorphic-typescript-project-test';Script tag
<!-- TODO -->
<script src="/something.js"></script>Usage
// CJS
const Features = require('isomorphic-typescript-project-test').default;
// ESM
import Features from 'isomorphic-typescript-project-test';