Skip to content

A Javascript module used to create digitally signed images.

License

Notifications You must be signed in to change notification settings

FemiBlack/foo-card-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FooCard

NPM version Downloads per month

Welcome to FooCard. FooCard is a Javascript library used to create unique and digitally signed identity cards or any custom user generated images.

Quick Setup

First install FooCard from npm

npm install foo-card

or yarn add foo-card if you use prefer

HTML

First add a canvas element with an id of #foocard to your html page.

<canvas id="foocard"></canvas>

If you need to change the canvas id, you can specify that when initializing the FooCard instance. More info can be found in the docs

Javascript

Then import FooCard as a javascript module.

import { FooCard } from "foo-card"

const fc = new FooCard({})
fc.loadImage().then(() => {
    // ...
})

To see more information and configuration options on FooCard, the documentation is available here:

FooCard Docs

Examples | Showcase

Here are some examples where we see some use-cases of FooCard foosample 1 foosample 2

For Development Purposes

First, install all packages npm install and then run the the build command to compile the Typescript code:

npm run build

About

A Javascript module used to create digitally signed images.

Resources

License

Stars

Watchers

Forks

Packages

No packages published