var Dat = require('dat-node')
// 記住檔案要是資料夾
Dat('../../yi.w/Desktop/aa/', function (err, dat) {
if (err) throw err
// 2. Import the files
dat.importFiles()
// 3. Share the files on the network!
dat.joinNetwork()
// (And share the link)
console.log('My Dat link is: dat://', dat.key.toString('hex'))
})