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

rn-kits

v1.0.2

Published

However, customizations are done elegantly to develop projects faster.

Downloads

3

Readme

rn-kits-examples

What's React Native Kits

Do you want to build an application with React Native, but want to be responsive, free from code and file clutter and save time? You can use react-native-utilities for this.

Used to customize components.

What is it used for?

You know that customizations in React-Native are written in a new style file like the web. However, customizations are done elegantly to develop projects faster. So I wrote a utility for react-native. In this way, you can use it easily.

Installation

  • Npm:

> npm install rn-kits
  • Yarn

> yarn add rn-kits

Import

Selector

import { backgroundColor, border, flex, font, height, margin, padding, text, textAlign, textColor, width } from 'rn-kits'

All

import * as from 'rn-kits';

Example Usages

View

<View style={[flex.column, flex.justifyContentCenter, flex.alignItemsCenter, margin.mr6]}>

Button

<Button style={[margin.mv8, padding.pv5, { backgroundColor: '#1ED860' }]}>Save</Button>

Import RN-Kits and RN-Paper

import {
  Text,
  Button,
  ActivityIndicator,
  Colors,
  Modal,
  Portal,
  IconButton,
} from "react-native-paper";
import { View, StyleSheet, TextInput, ScrollView } from "react-native";

Example Global Style

const global = StyleSheet.create({
    backgroundColor: {
        backgroundColor: '#191a1e',
    },
    container: {
        paddingHorizontal: 13,
    }
});

Full Page

<>
  <ScrollView
    contentContainerStyle={{ flexGrow: 1 }}
    style={[height.h100, globalStyle.backgroundColor]}
  >
    <View
      style={[height.h100, globalStyle.backgroundColor, flex.verticalCenter]}
    >
      <View style={[width.w100, globalStyle.container]}>
        <View style={[margin.mh9]}>
          <Text style={[font.medium, font.xl8]}>Enter</Text>
          <Text style={[font.light, font.xl8]}>e-mail</Text>
          <TextInput
            placeholderTextColor={"rgba(255, 255, 255, 0.9)"}
            style={[
              margin.mt9,
              textColor.white,
              padding.ph8,
              font.light,
              font.lg,
              border.br5,
              { backgroundColor: "#212328" },
            ]}
            placeholder={"E-posta adresi"}
            value={this.state.email}
            onChangeText={(email) => this.setState({ email })}
          />
          <Button
            icon="arrow-right"
            mode="contained"
            style={[margin.mv5, margin.mt8, border.br10]}
            onPress={() => this.submitForm()}
          >
            Next
          </Button>
        </View>
      </View>
    </View>
  </ScrollView>
</>

Example Screenshots:

! [rn-kits-examples] (https://raw.githubusercontent.com/emircan-sahin/React-Native-Utilities/master/Frame%201.png)