https://github.com/movableink/v-card-generator
Creates V Card based on params passed through
https://github.com/movableink/v-card-generator
Last synced: 2 months ago
JSON representation
Creates V Card based on params passed through
- Host: GitHub
- URL: https://github.com/movableink/v-card-generator
- Owner: movableink
- License: mit
- Created: 2018-06-16T10:28:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T19:18:50.000Z (almost 7 years ago)
- Last Synced: 2025-01-31T13:43:41.810Z (4 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# v-card-generator
Creates V Card based on params passed through# Install Notes
```js
npm install
node index.js
```# Query Params
Params should be URL encoded, below is a list of params accepted to generate the v card.
```
lname=Holmes
fname=Sherlock
title=Mr
email=sherlock%40movableink.com
street=221B%20Baker%20Street
city=Marylebone
state=London
zip=NW1%206XE
country=UK
company=Sherlock%20Holmes
fax=98765432199
tel=12345678911
jtitle=Detective
wurl=http%3A%2F%2Fwww.worksite.co.uk
purl=http%3A%2F%2Fwww.personalsite.co.uk
```# Example:
```
localhost:3000?lname=Holmes&fname=Sherlock&title=Mr&email=sherlock%40movableink.com&street=221B%20Baker Street&city=Marylebone&state=London&zip=NW1%206XE&country=UK&company=Sherlock%20Holmes&fax=98765432199&tel=12345678911&jtitle=Detective&purl=http%3A%2F%2Fwww.personalsite.co.uk&wurl=http%3A%2F%2Fwww.worksite.co.uk
```# V Card Raw
```
BEGIN:VCARD
N:Holmes;Sherolock;;Mr;
ADR;DOM;PARCEL;HOME:;;221B Baker Street;Marylebone;London;NW1 6XE;UK
EMAIL;INTERNET:[email protected]
ORG:Sherlock Holmes
TEL;FAX;WORK:98765432199
TEL;HOME:12345678911
TITLE:Detective
URL;WORK:http://www.worksite.co.uk
URL:http://www.personalsite.co.uk
END:VCARD
```