diff --git a/node/index.js b/node/index.js index 9b8251c..5e1ec4e 100644 --- a/node/index.js +++ b/node/index.js @@ -7,5 +7,5 @@ const Salt = require('./salt'); //console.log(new Kana(Kana.CRC64, new Salt("hello lolis")).once("hello worldノチそぬとね")); -module.exports.Kana = Kana; -module.exports.Salt = Salt; +exports.Kana = Kana; +exports.Salt = Salt; diff --git a/node/package.json b/node/package.json index d575694..4e5a2d4 100644 --- a/node/package.json +++ b/node/package.json @@ -7,7 +7,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", - "license": "ISC", + "license": "GPL", "dependencies": { "ffi": "^2.3.0", "ref-struct": "^1.1.0"