Socket
Socket
Sign inDemoInstall

@lyo/history

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lyo/history

Browser-compatible version of history


Version published
Weekly downloads
0
Maintainers
1
Install size
22.0 kB
Created
Weekly downloads
 

Readme

Source

@lyo/history

A browser-compatible version of history built automatically with Lyo.

Version Build Hits

Usage

In a browser
<script src="https://cdn.jsdelivr.net/npm/@lyo/history"></script>

<script>
  history.createBrowserHistory();
  history.createHashHistory();
  history.createMemoryHistory();
  history.createLocation(foo, bar, baz, qux);
  history.locationsAreEqual(foo, bar);
  history.parsePath(foo);
  history.createPath(foo);
</script>
In Node.js
# Install
npm i @lyo/history
const history = require('@lyo/history')

history.createBrowserHistory();
history.createHashHistory();
history.createMemoryHistory();
history.createLocation(foo, bar, baz, qux);
history.locationsAreEqual(foo, bar);
history.parsePath(foo);
history.createPath(foo);

Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk

FAQs

Last updated on 11 Nov 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc