This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
tmp-stats with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
a lil helper to get the stats object on arbitrary streams/datas/blobs/pokemons.
writes to a tmp file, gets the stat object, and then wipes the file.
gives you a random file path in os.tmpdir to write to
Add tests for error cases (wat are they even?) Should randomPath prefix/"namespace" somehow? Sort out the tmpDeleted business.