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

cozy-scanner

Package Overview
Dependencies
Maintainers
0
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cozy-scanner

Cozy-Scanner provides a component to take a picture of a document and describe it

latest
Source
npmnpm
Version
8.6.1
Version published
Maintainers
0
Created
Source

Cozy Scanner

Cozy-Scanner provides a component to take a picture of a document and describe it

Installation

Cozy-Scanner requires :

  • a cordova plugin : cordova plugin add https://github.com/cozy/cordova-plugin-camera.git#bf519ca009eeaec3a47237ee07a09d515cc733df
  • At least Cozy-UI 25.7
  • Cozy-Doctypes

Since Cozy-Scanner uses a few Alerter you also have to put <Alerter /> (from Cozy-UI) somewhere in your React Tree.

Translation

If you need to access to the translated categories, you can use getBoundT helper

import { getBoundT } from 'cozy-scanner'
...
const scannerT = getBoundT(lang) //lang coming from cozy-ui translate()
scannerT(`Scan.items.${file.metadata.label}`)

FAQs

Package last updated on 06 Nov 2024

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