How to use the brfs.toString function in brfs

To help you get started, we’ve selected a few brfs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thlorenz / transfigurify / test / resolve-transforms.js View on Github external
resolve(file, 'test', function (err, txs) {
    if (err) { t.fail(err); return t.end(); }
    t.equal(txs.length, 1, 'one transform');

    t.deepEqual(txs[0].toString(), require('brfs').toString(), 'resolves the transforms');
    t.end();
  });
})

brfs

browserify fs.readFileSync() static asset inliner

MIT
Latest version published 5 years ago

Package Health Score

74 / 100
Full package analysis

Popular brfs functions