Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dora-plugin-browser-history

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dora-plugin-browser-history

dora plugin for [react-router](https://github.com/reactjs/react-router) browser history([#browserhistory](https://github.com/reactjs/react-router/blob/master/docs/guides/Histories.md#browserhistory))

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

dora-plugin-browser-history

dora plugin for react-router browser history(#browserhistory)

NPM version Build Status Coverage Status

Feature

  • support react-router browserHistory

Install

$ npm install dora-plugin-browser-history --save-dev

Usage

import { Router, Route, browserHistory } from 'react-router';
import Home from './Home';
import Setting from './Setting';
import Download from './Download';

ReactDom.render((
  <Router history={browserHistory}>
    <Redirect from="/" to="/home" />
    <Route path="/" component={App}>
      <Route path="home" component={Home} />
      <Route path="setting" component={Setting}/>
      <Route path="download" component={Download} />
    </Route>
  </Router>
), document.getElementById('react-content'));
$ dora --plugins browser-history

Query

Path of the index file

$ dora --plugins browser-history?index=/example/entry.html

FAQs

Package last updated on 05 Aug 2016

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