您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

native.js 288B

12345678910111213
  1. 'use strict'
  2. let binding = require('bindings')('secp256k1')
  3. delete binding.path
  4. // NaN drops function names, add them for is* (via toJSON)
  5. for (let key in binding) {
  6. if (key.indexOf('is') !== 0) continue
  7. binding[key].toJSON = function () { return key }
  8. }
  9. module.exports = binding