Comparing version 0.0.4 to 0.0.5
18
index.js
var proto = {} | ||
module.exports = proto | ||
proto.from = require('./from') | ||
proto.to = require('./to') | ||
proto.is = require('./is') | ||
proto.subarray = require('./subarray') | ||
proto.join = require('./join') | ||
proto.copy = require('./copy') | ||
proto.create = require('./create') | ||
proto.from = require('./from.js') | ||
proto.to = require('./to.js') | ||
proto.is = require('./is.js') | ||
proto.subarray = require('./subarray.js') | ||
proto.join = require('./join.js') | ||
proto.copy = require('./copy.js') | ||
proto.create = require('./create.js') | ||
mix(require('./read'), proto) | ||
mix(require('./write'), proto) | ||
mix(require('./read.js'), proto) | ||
mix(require('./write.js'), proto) | ||
@@ -15,0 +15,0 @@ function mix(from, into) { |
{ | ||
"name": "bops", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "buffer operations", | ||
@@ -18,2 +18,3 @@ "main": "index.js", | ||
"./to.js": "./typedarray/to.js", | ||
"./is.js": "./typedarray/is.js", | ||
"./write.js": "./typedarray/write.js" | ||
@@ -20,0 +21,0 @@ }, |
@@ -7,6 +7,10 @@ var test = require('tape') | ||
, no = "World" | ||
, never = { weird: true } | ||
, noway = [ 42 ] | ||
assert.equal(binary.is(yes), true) | ||
assert.equal(binary.is(no), false) | ||
assert.equal(binary.is(never), false) | ||
assert.equal(binary.is(noway), false) | ||
assert.end() | ||
}) |
@@ -17,3 +17,3 @@ module.exports = { | ||
var map = require('./mapped') | ||
var map = require('./mapped.js') | ||
@@ -20,0 +20,0 @@ function read_uint8(target, at) { |
@@ -17,3 +17,3 @@ module.exports = { | ||
var map = require('./mapped') | ||
var map = require('./mapped.js') | ||
@@ -20,0 +20,0 @@ function write_uint8(target, value, at) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21250
581