We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78d5339 + 3a8350b commit 6f73359Copy full SHA for 6f73359
index.js
@@ -0,0 +1,5 @@
1
+module.exports = Jawn
2
+function Jawn () {}
3
+Jawn.prototype.import = function (data) {
4
+ return 'Hello World'
5
+}
test/jawn.js
@@ -0,0 +1,6 @@
+var test = require('tape')
+var Jawn = require('../index')
+test('jawn import', function (t) {
+ t.equal(new Jawn().import('some data'), 'Hello World')
+ t.end()
6
+})
0 commit comments