Socket
Book a DemoInstallSign in
Socket

@nodefony/monitoring-bundle

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodefony/monitoring-bundle

latest
Source
npmnpm
Version
7.0.2
Version published
Maintainers
1
Created
Source
  options: {
    markdownIt: {
      linkify: true
    },
    linkAttributes: {
      attrs: {
        target: "_self",
        rel: "noopener"
      }
    }
  }


};

}, async setup (props) { const { bundle } = toRefs(props);

const source = ref(null);
const getReadme = async (bundle) => {
  const url = `/documentation/${bundle}/readme`;
  return fetch(url, {
    credentials: "include",
    headers: {
      "Accept": "application/json",
      "Content-Type": "application/json",
      "User-Agent": "nodefony"
    }
  })
    .then(async (response) => {
      try {
        if (response.ok) {
          return await response.json();
        }
      } catch (error) {
        error.response = response;
        throw error;
      }
      const error = new Error(response.statusText);
      error.response = await response.json();
      throw error;
    });
};


if (bundle.value) {
  const res = await getReadme(bundle.value);
  if (res.readme) {
    source.value = res.readme;
  }
}

return {
  bundle,
  source
};

}, beforeMount () {}, mounted () {}, methods: {} };

@import 'highlight.js/styles/github-dark.css';

Keywords

nodefony

FAQs

Package last updated on 03 Jan 2025

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