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

@findy/react-findy-id

v2.7.0

Published

React container for Findy ID.

Downloads

38

Readme

CircleCI

React Findy ID

How to use

Prerequisites

If you do not set "FINDY_FIREBASE_CONFIG",` by default this module connected to "findy-id" project

If you want to connect other project, you need to set the configuration as "FINDY_FIREBASE_CONFIG"

example is here

For more information about Firebase config object, please see below.

https://firebase.google.com/docs/web/setup?hl=en#config-object

Install package

yarn

yarn add @findy/react-findy-id

npm

npm install @findy/react-findy-id --save

Put Sign-in button

Import React component

import { FindyIdComponent } from '@findy/react-findy-id'

and put Sign-in button on your app.

<FindyIdComponent
  afterSignInSuccessCallback={afterSignInSuccessCallback}
  signInSuccessUrl="http://localhost:3001"
  tosUrl="https://findy-code.io/terms"
  privacyPolicyUrl="https://findy-code.io/policy"
/>

props

Name|type|Description ----|----|---- afterSignInSuccessCallback|Function|Callback after sign-in, before redirect. The parameter authResult is a firebase authentication result object. signInSuccessUrl|String|Redirect URL after sign-in. tosUrl|String|Term of Service URL. privacyPolicyUrl|String|Privacy Policy URL.

For package developers

Setup

  • git clone https://github.com/Findy/react-findy-id.git
  • npm install
  • cp .env.example .env
  • Edit the .env file.

Run on local example app

  • npm start
  • Open http://localhost:3001

Directory structures

  • build
    • Output of build.
  • examples
    • Example app which is used by package developer.
  • src
    • Main code.

Publish

  • git checkout master
  • npm version [major | minor | patch]
  • git push origin master
  • git push origin vX.X.X
  • npm publish --access=public

localization

  • git clone https://github.com/firebase/firebaseui-web.git
  • cd firebaseui-web
  • Replace でログイン to でログイン/登録 in translations/ja.xtb file.
  • npm install
  • npm run build build-npm-ja
  • cp dist/npm__ja.js <react-findy-id directory>/lib

Ref. https://github.com/firebase/firebaseui-web/issues/379#issuecomment-417684828