🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@guivic/metadata-module

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guivic/metadata-module

Easy way to use metadata to share across components (using Vuex)

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
2
Created
Source

📦 Metadata Module

dependencies status dev-dependencies status Build Status npm version

Easy metadata service system integration with Nuxt.js and Vuex

âś… Features

âś“ Exposes set function to easily share metadatas across all components (sharing a color for a theme for expose)

âś“ Exposes get function so you can bind reactivity based on a metadata update

Installation

npm install @guivic/metadata-module --save

yarn add @guivic/metadata-module

Usage

// nuxt.config.js

	/*
	** Nuxt.js modules
	*/
	modules: [
		'@guivic/metadata-module',
	]
  

  // component.vue
  $metadata.set({
      key: 'value'
  });
  
  $metadata.get()
  
  // { key: 'value' }

Development

  • Clone this repository
  • Install dependencies using yarn or npm install
  • Start development server using yarn dev or npm run dev

Author

Guillaume Galas from Guivic

đź“‘ License

MIT License

Copyright (c) Guivic

FAQs

Package last updated on 14 May 2019

Did you know?

Socket

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.

Install

Related posts