1.3.1 • Published 3 years ago
typescript-rewrite-paths v1.3.1
typescript-rewrite-paths
import {rewritePaths} from 'typescript-rewrite-paths'
// The input and output are code strings.
const output = rewritePaths(input, path => {
// Return a string or falsy.
return path
})