New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

osu-json

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

osu-json

Converts stringified .OSU files into JSON

latest
Source
npmnpm
Version
0.9.1
Version published
Maintainers
1
Created
Source

osu-json

An ECMAScript 6 NPM module for parsing .OSU files into JSON.

Usage

// Require the module
const osujson = require('osu-json');

// Load the file to string however you like
const fs = require('fs');
let file = fs.readFileSync('./STYX_HELIX.osu', 'utf8');

// Then call 'ParseOSUFileAsync()'; it will return a promise for you to handle
osujson.ParseOSUFileAsync(file).then( (output)=>{
    console.log(JSON.stringify(output));
})
.catch( (err)=>{
    throw new Error(err);
});

Keywords

osu

FAQs

Package last updated on 19 Jul 2018

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