Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created December 23, 2012 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save isaacs/4366637 to your computer and use it in GitHub Desktop.
Save isaacs/4366637 to your computer and use it in GitHub Desktop.
/**package
{ "name": "one-file",
"version": "1.1.1",
"description":"Just this one file, it's a whole package!" }
**/
module.exports = onefile
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