0.1.2 • Published 7 years ago
import-scan v0.1.2
import-scan
Tiny import scanner
Features
- string literals only
- supports
importstatements,require()calls, andimport()calls - avoids several edge cases (see the tests)
Usage
import {importScan} from 'import-scan'
let imported = importScan(code)