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 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-template-react-everywhere

v0.1.1

Published

[![re-start (1).png](https://s4.postimg.org/4a0zw1egd/re-start_1.png)](https://postimg.org/image/6elcx4g2x/)

Downloads

11

Readme

ReactNativeEverywhere :globe_with_meridians: :iphone: :computer:

re-start (1).png

#####This project is an attempt to:

  • Target multiple platforms(Android, iOS, web, windows and macOS) with react native' APIs.
  • Follow best practices while doing the above.
  • Cut out the time and effort it takes to setup the project(based on create-react-app).
  • Achieve 'Write once use everywhere' with react-native(though react strictly says 'Learn once use anywhere').

How it works:

This starter kit has different branches based on what general requirements are(more branches coming soon). Just clone the project, switch to the desired branch, remove the .git folder and you are all set to code your app without thinking of any requirements or pre/post-tasks that need to be taken care of.
###Selecting the right branch:

  • master : As the name says, it is and it'll always be the combination of all other branches, targeting all the possible platforms (does'nt support windows as of now).
  • common-navigation : Uses react-router-native to bring parity in API with react-router and make navigation logic common. Supports Universal-Windows-Platforms too. Uses power of Redux.
  • web : If you want a simple app(authenticating your users, displaying some data from remote sources and some process which is not very complex) and want it on android, iOS and web. This branch is what you need.
  • web-redux :If you want to utilize the power of redux(i.e. you want to have complete control over your app's state and don't want your app to be complex), this is what you are looking for. P.S. : As of now master and web-redux are at exact same stage.

##Wiring Up:

git clone https://github.com/amoghbanta/reactNativeEverywhere.git yourProjectName
cd yourProjectName
git checkout theBranchYouNeed
rm -rf .git
npm i

##Run the project: ####Pre-requisites: Node.js & npm on your system(follow this) react-native CLI (npm install -g react-native-cli)

####Android react-native run-android

####iOS react-native run-ios

####Web npm run web

####Windows react-native windows react-native run-windows

###Build for production: ####Android/iOS This will help

####Web npm run build (this will build your production ready bundle)


###Some very useful cross platform compatible libraries:


###Progress:


###Running on Web, Android, iOS and Windows(Universal):


##Contributing: This starter kit is still in very early stage. All your suggestions and PRs and welcome.