@ddn/ddn-js
v3.0.1
Published
DDN javascript library
Downloads
2
Readme
DDN Javascript Library
Install
npm install ddn-js --save
Import
CommonJS
var DdnJS = require('ddn-js');
DdnJS.options.set('nethash','aaaaaa')
Front end
<script type="text/javascript" src="/ddn.js"></script>
# or
<script type="text/javascript" src="/ddn.min.js"></script>
window.DdnJS.options.set('nethash','aaaaaa')
console.log(window.DdnJS)
Usage
Please reference the ddn http interface documents