Socket
Socket
Sign inDemoInstall

@confuzzle/readpuz

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@confuzzle/readpuz - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

4

package.json
{
"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);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc