network-byte-order
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "network-byte-order", | ||
"description": "htonl, htons, ntohl, ntohs - convert values between host and network byte order.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "lib/network-byte-order.js", | ||
@@ -20,8 +20,6 @@ "homepage": "https://github.com/mattcg/network-byte-order", | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "git", | ||
"url": "https://github.com/mattcg/network-byte-order.git" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mattcg/network-byte-order.git" | ||
}, | ||
"licenses": [ | ||
@@ -28,0 +26,0 @@ { |
@@ -9,3 +9,3 @@ # JavaScript implementation of htonl, htons, ntohl, ntohs # | ||
### `htonl(b, i, v)` ### | ||
### htonl(b, i, v) ### | ||
@@ -18,3 +18,3 @@ The `htonl()` function converts the given unsigned 32-bit (long) integer from host byte order to network byte order (Little-Endian to Big-Endian). | ||
### `htons(b, i, v)` ### | ||
### htons(b, i, v) ### | ||
@@ -27,3 +27,3 @@ The `htons()` function converts the given unsigned 16-bit (short) integer from host byte order to network byte order (Little-Endian to Big-Endian). | ||
### `ntohl(b, i)` ### | ||
### ntohl(b, i) ### | ||
@@ -35,3 +35,3 @@ The `ntohl()` function converts the unsigned 32-bit (long) integer from network byte order to host byte order (Big-Endian to Little-Endian). | ||
### `ntohlStr(s, i)` ### | ||
### ntohlStr(s, i) ### | ||
@@ -41,3 +41,3 @@ `s` is a `string` to the read value from. | ||
### `ntohs(b, i)` ### | ||
### ntohs(b, i) ### | ||
@@ -49,3 +49,3 @@ The `ntohs()` function converts the unsigned 16-bit (short) integer from network byte order to host byte order (Big-Endian to Little-Endian). | ||
### `ntohsStr(s, i)` ### | ||
### ntohsStr(s, i) ### | ||
@@ -52,0 +52,0 @@ `s` is a `string` to the read value from. |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
6644
5
98
0