New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@confuzzle/confuz-crossword

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@confuzzle/confuz-crossword

Conversion to and from `.confuz` format

  • 1.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@confuzzle/confuz-crossword

This package is for converting to and from .confuz format. For a parser to convert this format into a usable object, see @confuzzle/confuz-parser.

Methods

  • compressURL(x) - convert x from .confuz to a format suitable for URLs,
  • decompressURL(x) - convert from compressed URL format to a .confuz formatted string
  • fromCrossword(crossword, options) - returns a .confuz formatted string representing the object as returned by @confuzzle/confuz-parser. If options.scramble is true, apply base64 scrambling of answers.
  • fromPuz(x) - returns a .confuz formatted string representing x where x is in .puz binary format
  • toPuz(s) - returns a ShareablePuz from a .confuz formatted string s. See @confuzzle/puz-sharing.

In the above methods, x is anything compatible with Buffer.from().

Keywords

FAQs

Package last updated on 13 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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