New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@builtwithjavascript/user-maven-scripts

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builtwithjavascript/user-maven-scripts

Hook useUserMavenScripts to dynamically build client head scripts for User Maven app analytics

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

@builtwithjavascript/user-maven-scripts

Hook useUserMavenScripts to dynamically build client head scripts for User Maven app analytics

npm version

code base

TypeScript

Description

Contains hooks:

  • useUserMavenScripts

How to use

install:

npm i -D @builtwithjavascript/user-maven-scripts

consume:

import { useUserMavenScripts } from '@builtwithjavascript/user-maven-scripts'

const userMavenKey = 'your-usermaven-key'
const headScripts = useUserMavenScripts(userMavenKey)

// then you can use in nuxt.config.ts etc, for example:

export default defineNuxtConfig({
  app: {
    baseURL: '/',
    head: {
      charset: 'utf-8',
      viewport: 'width=device-width, initial-scale=1',
      script: headScripts,
      htmlAttrs: {
        lang: 'en'
      },
      link: [
        { rel: 'icon', type: 'image/png', href: '/favicon.ico' }
      ]
    }
  },
})

Keywords

usermaven, analytics, config, configuration, scripts, large scale apps, vue, react, svelte, nuxt, next, node

FAQs

Package last updated on 02 Feb 2024

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