How to use the create function from bindings

Find comprehensive JavaScript bindings.create code examples handpicked from public code repositorys.

227
228
229
230
231
232
233
234
235
236
    else if (isa(RRA, rra)) specs.push(rra.toString()); 
    else throw new Error("rrd: create: rra key requires rrd.RRA objects");
  });
  
  // console.log("rrdtool create", args[0], options['step'], options['time'], specs);
  return bindings.create.call(null, args[0], options['step'], options['time'], specs, args[2]);
  
}

if (conformed([String, Number, Number, Array, Function], arguments)) {
fork icon23
star icon94
watch icon11

+ 3 other calls in file

2
3
4
5
6
7
8
9
10
11
12
13
const assert = require('assert');


const baseTest = function (alg, len) {
  it('invalid length', function () {
    assert.throws(function () {
      xoshiro.create(alg, crypto.randomBytes(len - 1));
    });
  });


  it('seeding ArrayBuffer', function () {
fork icon1
star icon0
watch icon0

+ 11 other calls in file

26
27
28
29
30
31
32
33
34
35
36
37
38


exports.getDevices = portAudioBindings.getDevices;
exports.getHostAPIs = portAudioBindings.getHostAPIs;


function AudioIO(options) {
  const audioIOAdon = portAudioBindings.create(options);
  let ioStream;


  const doRead = async size => {
    const result = await audioIOAdon.read(size);
fork icon0
star icon0
watch icon0

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)