Rewrite in TypeScript
The entire package was rewritten in TypeScript, and as a result the types contract has changed to be much more accurate.
Also, CommonJS users no longer need to specify .default when using require to bring in the package.
The entire package was rewritten in TypeScript, and as a result the types contract has changed to be much more accurate.
Also, CommonJS users no longer need to specify .default when using require to bring in the package.