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

strat2json

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

strat2json

Converts Strat-O-Matic print (prt) file data to JSON

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-80.77%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status Coverage Status Twitter Follow GitHub followers npm Gratipay User Donate

strat2json

Converts a Strat-O-Matic (SOM) print (prt) file data to JSON.

Motivation

SOM data primarily exists within the game itself, or exported as a PRT file. This module modernizes SOM data as JSON.

Installation

npm install strat2json

Usage

leagueStandings2json

Pass the contents of a SOM league standings file to leagueStandings2json, and it will return the data parsed into a JSON object for each conference, division, and team.

primaryStats2json

Pass the contents of a SOM primary stats file to primaryStats2json, and it will return the data parsed into a JSON object for each team with the batters and pitchers separated into different arrays.

Tests

npm test

Contributors

Brendan Conrad

License

MIT

Disclaimer

This module is not affiliated with, associated with, authorized by, endorsed by, or in any way connected with Strat-O-Matic (SOM) or Major League Baseball (MLB).

Contribute

To keep development of this module moving forward, please consider donating to the project.

Gratipay User Donate

Watch and give the project a star on Github.

Keywords

FAQs

Package last updated on 23 Mar 2017

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