- Support for both ECMAScript and CommonJS modules.
- Support for JSX (currently only supported when using TypeScript).
- Support for the latest ECMAScript features, regardless of what Node supports (currently only supported when using TypeScript).
This is currently beta quality software, so keep that in mind if you are looking at using this for production software.
First, install Disposition as a dependency.
~> yarn add disposition # or `npm install disposition`
Then create a basic configuration file:
...and load it:
// index.ts;;console.logconfig.foo; // => bar
And that is the basics down!
The changelog can be found here.
Cosmiconfig has inspired and influenced this project.