
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
When you want to create a VCard (CV website), you have to put your information into a static HTML file (if you don't want a server based one). Then, if you want to change the design, sometimes changing CSS is not enough; you have to change HTML too. So, this project meant to:
Technically speaking:
As consequences:
See a demo here
The HTML file doesn't contain anything at all. It just calls for the script which will do the calls.

Check the API
By introducing information inside a json file ("vcard.json"), you can generate a Vcard webpage (CV). This can be done using javascript ("jsonvcard.js") which is called as follows:
<html>
<head>
<meta charset="UTF-8">
<title>Test portfelio</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="<link/to/jsonvcard.js>" ></script>
</head>
<body>
<script>
JsonVCard.setStyleName("violet")
.setRelativePath("link/to/current/directory") /*where your profile picture and helper files are*/
.setThemesPath("link/to/the/theme")/*Not affected by setRelativePath*/
.setThemeName("theme-name")/*must come after setThemesPath*/
.setFooter("link/to/footer.htm") /*Not affected by setRelativePath*/
.process("link/to/vcard.json");/*Not affected by setRelativePath*/
</script>
</body>
</html>
The json file ("vcard.json") contains information about the one for whom we want to generate a CV. it is self explanatory and easy to fill.
For API documentation, check this YuiDoc generated documentation
For a list of available themes, check THIS
In your project tree, tape this command line to download the latest version to "node_modules":
npm install json-vcard
node node_modules/json-vcard/install.js
All needed files will be copied to the root (where the shell is positioned)
Also, if you just want to update the package, don't execute the last instruction. Otherwise, it will overwrite your json file (if its namme is vcard.json)
All the C's are here:
Copyright (C) 2016-2017 Abdelkrime Aries
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
VCard dynamically created from a json file and a template
We found that json-vcard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.