@confuzzle/readpuz
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@confuzzle/readpuz", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Minimal .puz format reader", | ||
@@ -19,2 +19,2 @@ "license": "MIT", | ||
} | ||
} | ||
} |
@@ -26,27 +26,2 @@ const puz_common = require('@confuzzle/puz-common'); | ||
/* | ||
* readpuz(x) | ||
* | ||
* Runs Buffer.from(x), reads the resulting buffer and returns an | ||
* object that looks like this. | ||
* | ||
* { | ||
* title: "...", | ||
* author: "...", | ||
* copyright: "...", | ||
* note: "...", | ||
* width: 15, | ||
* height: 15, | ||
* clues: ["clue 1", "clue 2", ... ], | ||
* solution: "ABC...", | ||
* state: "A--...", | ||
* hasState: true | ||
* } | ||
* | ||
* Example usage: | ||
* const fs = require('fs'); | ||
* const readpuz = require('@confuzzle/readpuz').readpuz; | ||
* const puz = readpuz(fs.readFileSync("test.puz")); | ||
*/ | ||
function readpuz(x) { | ||
@@ -53,0 +28,0 @@ const buf = Buffer.from(x); |
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 README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
3501
3
1
32
49