New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

can-use-localstorage

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-use-localstorage

test localstorage in browser

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

canUselocalStorage

GitHub issues

Install

npm:

npm install -save can-use-localstorage

yarn:

yarn add can-use-localstorage

Usage

import canUselocalStorage from 'can-use-localstorage';
// const canUselocalStorage = require('can-use-localstorage');

const result = canUselocalStorage();

console.log(result);
// true || false

console.log(window.canUselocalStorage);
// true || false

License

MIT

Keywords

localstorage

FAQs

Package last updated on 08 Nov 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