0.1.2 ā¢ Published 3 years ago
jsonld-helpers v0.1.2
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