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

card-reader-widget

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

card-reader-widget

card reader widget

latest
npmnpm
Version
1.0.18
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Card reader widget (CRW)

CRW is a react library for capture the credit card images.

Installation

If you are using npm,

npm install card-reader-widget

For yarn,

yarn add card-reader-widget

Usage

//App.js
import React from 'react';
import CardReader from 'card-reader-widget'
import './App.css';


function App() {
  const onDone = (response) => {
   console.log('response', response);
  }
  return (
    <div>
      <CardReader logger={console.log} onDone={onDone} />
    </div>
  );
};

export default App;

Add this in your App.css

@import '~card-reader-widget/src/App.css';

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

FAQs

Package last updated on 04 Jul 2023

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