You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
[](https://www.npmjs.org/package/typical)
[](https://www.npmjs.org/package/typical)
[](https://travis-ci.org/75lb/typical)
[](https://coveralls.io/github/75lb/typical?branch=master)
[](https://david-dm.org/75lb/typical)
[](https://github.com/feross/standard)
{{>main}}
## Load anywhere
This library is compatible with Node.js, the Web and any style of module loader. It can be loaded anywhere, natively without transpilation.
Node.js:
```js
const typical = require('typical')
```
Within Node.js with ECMAScript Module support enabled:
```js
import typical from 'typical'
```
Within a modern browser ECMAScript Module:
```js
import typical from './node_modules/typical/index.mjs'
```
Old browser (adds `window.typical`):
```html
<script nomodule src="./node_modules/typical/dist/index.js"></script>
```
* * *
© 2014-19 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).