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

@pepavlin/sheet-api

Package Overview
Dependencies
Maintainers
0
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pepavlin/sheet-api

Sheet-api is library, that helps manage sheet formats, handling extended chords and transposing.

  • 1.3.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-63.04%
Maintainers
0
Weekly downloads
 
Created
Source

sheet-api

Sheet-api is library, that helps manage sheet formats, handling extended chords and transposing.

Installation

npm install @pepavlin/sheet-api

Usage

import {Chord, Sheet, note, transpose} from "@pepavlin/sheet-api"

// Note type
const c : note = 'C';
const e = transpose(c, 4); // Transpose by semitones

// Chord object
const gmoll = new Chord("Gm");
gmoll.transpose(2); // Use transpose to move chord's note-key
gmoll.setTransposition(-3); // Ignores previous tranpositions

// Sheet object
const sheet = new Sheet("{V1}Thank [Em]you Lor[G]d\n [D]Thanks...");
sheet.transpose(-3); // Transpose all chords on the sheet (transpose whole song)
sheet.setTransposition(0);

const sections = sheet.getData(); // Splits sheet on Sections, Lines and Segments

FAQs

Package last updated on 15 Jan 2025

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