jsonld-helpers
v0.1.2
Published
<h1 align="center">Welcome to jsonld-helpers 👋</h1> <p> <a href="https://www.npmjs.com/package/jsonld-helpers" target="_blank"> <img alt="Version" src="https://img.shields.io/npm/v/jsonld-helpers.svg"> </a> <img src="https://img.shields.io/badg
Downloads
3
Maintainers
Readme
out-of-box helper collection for JSON-LD (Structure Data) for improve SEO.
Prerequisites
- node >=10
Install
yarn add jsonld-helpers
Usage
- generate your JSON-LD
import { generateXXX } from 'jsonld-helpers'
const jsonld = generateXXX(...)
- append to your html head, see your web framework (if you use nuxtjs/vuejs, here is a example).
<head>
...
<script type="application/ld+json">
{
// JSON-LD Object
}
</script>
</head>
Dev
yarn start
Run tests
yarn test
Author
👤 TJ
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator