Interpret
interpret
A dictionary of file extensions and associated module loaders.
Utilities
coffee
coffee.md
coffeescript
es
es6
js
json
json5
jsx
react
Stars
263
Weekly
23M
Open issues
5
Bundle
~15 kB
Installation
npm install interpretCode example
import { useInterpret } from "interpret";
export function Example() {
const value = useInterpret();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by Gulp Team
- 23M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~15 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 5 open issues on GitHub