Nested Parenthetical Madness

    @docomodigital/js-browser

    3.0.2 • Public • Published

    js-browser

    npm version

    Provides you an alternative method to manage previous and current page changements.

    Is particularly used to get query params as object and to get the previous page in order to implement an easy and basic history in your routing.

    Usage

    import { Browser } from 'js-browser';
    
    // Get previous page
    const prevPage = Browser.getPrevPage();
    
    // Set browser new state
    Browser.shiftPage('/home'); 
    
    // Get query params in your url
    const queryParams = Browser.getQueryParams();

    Installation

    NPM

    npm install --save @docomodigital/js-browser

    Documentation

    To read documentation, go to:

    http://docomodigital.github.io/js-utils/js-browser/latest

    Keywords

    none

    Install

    npm i @docomodigital/js-browser

    DownloadsWeekly Downloads

    1

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    16.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • everdrone
    • blame_etc