Clone this repository and then run:
./install.sh
./0_method/dts-generate [NPM_MODULE] [OUTPUT_DIRECTORY]
./0_method/dts-generate abs /tmp/output
Extracts a list of node modules from the DefinitelyTyped repository.
Extracts the git repository for each of the extracted modules in step 1.
Extracts the readme files from the git repository.
Extracts javascript code from the readme files.
Executes the extracted code and verifies if it throws any errors.
Extracts runtime information for the working modules.
Generates declaration files for the working modules.
- DEPRECATED See 9_compare
- Parses declaration files.
- Extracts the type of the declaration file (module.d.ts, module-function.d.ts, module-class.d.ts).
- Compares the generated declaration file with the declaration file in the Definitely Typed repo.