Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

v-github-activity

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-github-activity

Componente Vue para mostrar la actividad reciente de github

  • 2.0.0-beta
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

v-github-activity

Made with vue Made with vue npm npm bundle size NPM

Componente Vue.js para mostrar la actividad de github.

Puedes encontrar algunos ejemplos aquí

Instalación

npm install v-github-activity

Uso

v-avatar es un modulo UMD, por lo que puede ser utilizado en tanto en una instancia de Vue como en Nuxt como en un entorno non-modular donde githubFeed sera registrada como variable global.

VUE COMPONENT

<template>
<div>
  <github-feed login="amaury-tobias"/>
</div>
</template>

<script>
import githubFeed from 'v-github-activity'

export default {
  components: {
    githubFeed
  }
}
</script>

OR GLOBAL

import Vue from 'vue'
import githubFeed from 'v-github-activity'

Vue.use(githubFeed)

NUXT

./plugins/githubActivity.js

import Vue from 'vue'
import githubFeed from 'v-github-activity'

Vue.use(githubFeed)

nuxt.config.js

module.exports = {
  plugins: ['~/plugins/githubActivity.js']
}

*.vue <template>

<no-ssr>
  <github-feed login="amaury-tobias" />
</no-ssr>

Browser

<!DOCTYPE html>
<html>
  <head>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://unpkg.com/v-github-activity"></script>
  </head>
  <body>
    <div id="app">
      <github-feed login="amaury-tobias" />
    </div>
    <script>
      var app = new Vue({
        el: '#app',
        components: {
          githubFeed
        }
      })
    </script>
  </body>
</html>

Props

NameRequiredDefaultTypeDescription
login Y - String GitHub username / Nombre de usuario de GitHub.

Build Setup

# install dependencies
npm install

# serve whith hot reload al localhost:8080
npm run serve

# build
npm run build

Test

npm test

License

Released under the MIT License.

TO DO

  • Build module using Rollup
  • Replace axios using fetch
  • Add SGV icons
  • Complete Unit testing

Keywords

FAQs

Package last updated on 17 Sep 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc