Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am prendo93 on github.
  • I am michaelprend (https://keybase.io/michaelprend) on keybase.
  • I have a public key ASCPchDEtJ_GDliWD4hjJTol_jB9-bHXP-oobXVzcCf-ggo

To claim this, I am signing this object:

@Prendo93
Prendo93 / rel_to_abs.go
Last active February 14, 2022 01:49
A go program to convert all relative imports to absolute imports in a Typescript/Javascript codebase
package main
import (
"bufio"
"bytes"
"errors"
"flag"
"fmt"
"io"
"log"
package main
import (
"bufio"
"flag"
"fmt"
"io"
"math/rand"
"os"
"time"