posthtml / htmlnano

Modular HTML minifier, built on top of the PostHTML

Home Page:https://htmlnano.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript definitions

metonym opened this issue · comments

It would be useful to have TypeScript definitions when using the library programmatically with Node/TypeScript.

Would you be receptive to a PR that adds types? As an alternative, I'd be happy to contribute them to https://github.com/DefinitelyTyped/DefinitelyTyped as @types/htmlnano if it's beyond the scope of this project.

Yes, I'd be happy to accept your PR. Thanks!