Skip to content

Instantly share code, notes, and snippets.

@devinrhode2
Forked from isaacs/onefile.js
Last active December 10, 2015 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devinrhode2/4378860 to your computer and use it in GitHub Desktop.
Save devinrhode2/4378860 to your computer and use it in GitHub Desktop.
/**package
{
"name" : "onefiledemo",
"version" : "1.8.3",
"description" :"Just this one file, it's a whole package!"
"dependencies": {
}
}
**/
function onefile(n) {
if (n !== 1)
throw new Error("that's not how many files are in this package!")
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment