You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213 |
- 'use strict'
-
- let binding = require('bindings')('secp256k1')
- delete binding.path
-
- // NaN drops function names, add them for is* (via toJSON)
- for (let key in binding) {
- if (key.indexOf('is') !== 0) continue
-
- binding[key].toJSON = function () { return key }
- }
-
- module.exports = binding
|