@openbeta/sandbag
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.30 • Public • Published

    Develop branch License

    All Contributors

    What is this?

    Javascript utilities for working with rock climbing grades.

    ** Only YDS and V scale are supported at the moment. Code contributions are most welcome!**

    Questions? Join us on Discord.

    How to use the library

    Install the package

    Using NPM

    npm install @openbeta/sandbag
    

    Using Yarn

    yarn add @openbeta/sandbag
    

    Compare YDS grades

    import { YosemiteDecimal } from '@openbeta/sandbag'
    
    const easier = YosemiteDecimal.getScoreForSort('5.6')
    const harder = YosemiteDecimal.getScoreForSort('5.10')
    
    console.log('Is 5.6 easier than 5.10?', easier < harder)  // Output: true

    See unit tests for more examples.

    Development (TBD)

    yarn install
    yarn test
    

    License

    MIT

    Contributors

    Thanks goes to these wonderful people (emoji key):


    AntoineM

    💻 🤔

    Kendra Gibbons

    💻 🤔

    MichaelDimmitt

    💻

    Clinton Lunn

    💻

    Darren Lew

    💻 🤔

    This project follows the all-contributors specification. Contributions of any kind welcome!

    Install

    npm i @openbeta/sandbag

    DownloadsWeekly Downloads

    266

    Version

    0.0.30

    License

    MIT

    Unpacked Size

    194 kB

    Total Files

    25

    Last publish

    Collaborators

    • mappandas