Wondering what’s next for npm?Check out our public roadmap! »

    @luggage/luggage-session

    2.2.0 • Public • Published

    Luggage session manager

    Utils for fetching and storing dropbox authentication token.

    Usage

    import LuggageSession from 'luggage-session'
     
    const session = new LuggageSession({ apiKey: 'dropboxApiKey', redirectUrl: '/app'})
     
    // If token already exists in memory or sessionStorage you will get it
    // otherwise this will cause a redirect to dropbox authentication page
    const token = session.getToken()

    Install

    npm i @luggage/luggage-session

    DownloadsWeekly Downloads

    20

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    35.7 kB

    Total Files

    21

    Last publish

    Collaborators

    • avatar