npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-native-typed-storage

v0.2.0

Published

Typed Async Storage

Readme

react-native-typed-storage Build Status npm version Known Vulnerabilities NpmLicense js-standard-style

NPM

Typed Storage for React Native

  • Small wrapper over Async Storage with automatic stringify, parsing
  • Note that this library doesn't get you any type safety, all it does is store objects as string, and return the stored string as object
  • Defaults to JSON for converting between objects and strings, however allows you to use your own converters

:arrow_forward: How to Install

  1. Run npm i --save react-native-typed-storage or yarn add react-native-typed-storage based on your preference
  2. Import TypedStorage or createTypedStorage from react-native-typed-storage
  3. WIP More Examples and Docs

:arrow_up: How to Setup For Development

Step 1: git clone this repo:

Step 2: cd to the cloned repo:

Step 3: Install the Application with yarn

:arrow_forward: How to Build For Development

  1. cd to the repo
  2. Run yarn build

Standard Compliant

js-standard-style

This project adheres to Standard in TypeScript through tslint-config-standard with custom prettier. Our CI enforces this, so we suggest you enable linting to keep your project compliant during development.

To Lint on Commit

This is implemented using husky. There is no additional setup needed.

Bypass Lint

If you have to bypass lint for a special commit that you will come back and clean (pushing something to a branch etc.) then you can bypass git hooks with adding --no-verify to your commit command.

Understanding Linting Errors

The linting rules are from JS Standard and React-Standard. Regular JS errors can be found with descriptions here, while React errors and descriptions can be found here.

Contributing

Please read CODE_OF_CONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.

License

Copyright © 2018-2021 Caner Korkmaz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this repository except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0 or at LICENSE file.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.