4 ms·
Super cool tool I use for leetcode/hackerrank practice
`npm install -g warp-prism`
If you're like me and you hate developing in web IDEs, this Javascript module lets me generate formatted modules as instantly invoked function expressions.
So lets say I'm on leetcode, and I'm stumped on a Hard level problem that has expected input as some arbitrary Linked List node data structure.
You use this tool say `warpin listNode .` and it will automatically create the JS module for you. That way I write quick tests in local (so I can run them with mocha) and use all my terminal keyboard shortcuts to test each piece of the functionality
Documentation seems to cover it pretty well https://www.npmjs.com/package/warp-prism
- dozzie 10y ago> Documentation seems to cover it pretty well Sorry to break it to you, but this thing doesn't have any documentation at all, it only has some shortish README. You should step out of your little pile of JavaScript to see how the rest of the world looks like.