1.0.2 • Published 3 years ago

@huz-com/metatag v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Huz.Com > Component > Metatag

  • General callback storage for basic, context, name, pair, entity and route
  • Provides central/easy routing append

Standards

  • Language: TS
  • Eslint: Yes
  • Static Code Analysis: Yes IntelliJ Code Inspections
  • DDD - Document Driven: Yes
  • EDD - Exception Driven: Yes
  • TDD - Test Driven: Yes go to test folder
  • Standards Complied: Huz Standards

Commands

  • npm run clear // clears "dist" folder
  • npm run lint // runs eslint for static code analysis
  • npm run test // runs test files in "test" folder
  • npm run build // builds JS files at "dist" folder
  • npm publish or npm run publix // publishes "dist" folder to npm

Install

npm i @huz-com/metatag

For Context

const {metatag} = require('@huz-com/metatag');
metatag.cast(); // casts title, description and keywords as multilanguage
metatag.read(); // reads/requests metatag data from client
metatag.view(); // views/exports metatag data to client