How to use
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264'); console.log(leftPad(1, 5)); // '00001' console.log(leftPad(1234, 5)); // '01234' console.log(leftPad(12345, 5)); // '12345'
Running this example
# populate `twitter-config.json` with your API tokens $ npm install $ npm test
I'm surprised no one has mentioned IPFS as a solution to it getting deleted.