jsonld-helpers
TypeScript icon, indicating that this package has built-in type declarations

0.1.2ย โ€ขย Publicย โ€ขย Published

Welcome to jsonld-helpers ๐Ÿ‘‹

Version License: MIT

out-of-box helper collection for JSON-LD (Structure Data) for improve SEO.

Prerequisites

  • node >=10

Install

yarn add jsonld-helpers

Usage

  1. generate your JSON-LD
import { generateXXX } from 'jsonld-helpers'

const jsonld = generateXXX(...)
  1. 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

Package Sidebar

Install

npm i jsonld-helpers

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

83.8 kB

Total Files

32

Last publish

Collaborators

  • thaddeusjiang