npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@acacha/casteaching

v1.0.12

Published

Casteaching api service

Downloads

36

Readme

Instal·lació

npm install @acacha/casteaching

Usage

Example at: https://github.com/acacha/casteachingIonic/blob/1cb100635433f83b348574c138227c41f79c4fa5/src/main.js#L28-L38

import casteaching from '@acacha/casteaching'

const api = casteaching({baseUrl: 'https://casteaching.alumnedam.me/api'})

// OPTIONAL: for operations that requires token
// Example https://github.com/acacha/casteachingIonic/blob/f8afa6e65e4c5f7c5fde972b85ba95cf347f9c07/src/views/Login.vue#L102
api.setToken(token)

// Obtenir llista de vídeos publicats
api.videos()

// Obtenir vídeo per ID
api.video.show(1)

// Crear video
api.video.create({name: 'PHP 101', description: 'Bla bla bla',  url: 'https://youtube.com/...' })

// Update video
api.video.update(1,{name: 'PHP 101', description: 'Bla bla bla',  url: 'https://youtube.com/...' })

// Destroy
api.video.destroy(1)

Obsolet (previous to 1.0.5)

import casteaching from '@acacha/casteaching'

// Obtenir llista de vídeos publicats
casteaching.videos()

// Obtenir vídeo per ID
casteaching.video.show(1)

// Crear video
casteaching.video.create({name: 'PHP 101', description: 'Bla bla bla',  url: 'https://youtube.com/...' })

// Update video
casteaching.video.update(1,{name: 'PHP 101', description: 'Bla bla bla',  url: 'https://youtube.com/...' })

// Destroy
casteaching.video.destroy(1)

Autor

  • Sergi Tur Badenas: https://acacha.github.io
  • Instagram: https://instagram.com/acacha_dev
  • Github: https://github.com/acacha

image

Codi font dels alumnes

  • Audí Bielsa, Daniel: https://github.com/daudi44/casteaching_package_daudi
  • Avante Caballé, Marc: https://github.com/AvanteCaballe/casteaching_package
  • Brusca Manchón, Albert: https://github.com/Albert-Brusca/casteaching_package
  • Goncear, Tudor: https://github.com/tgoncear/casteaching-package
  • Moreno Giraldo, Jhon: Jhon1348: https://github.com/Jhon1348/casteaching_package
  • Muñoz Zafra, Ferran | https://github.com/Fmunozzafra/casteaching_package_fmz
  • Pont Lopez, David: Palanka777: https://github.com/Palanka777/casteaching_package.git
  • Rius Rivas, Alba: AlbaRiius: https://github.com/AlbaRiius/casteaching_arr_package
  • Tomas Altadill, Axel: AxelTomas99: https://github.com/AxelTomas99/TODO
  • Gabriel Urs. Gabriel: l3lackJack https://github.com/l3lackJack/casteaching_package
  • Tur Badenas, Sergi: Alumne DAM Prova: https://github.com/acacha_casteaching_package

Paquet a npmjs

  • Audí Bielsa, Daniel: https://www.npmjs.com/package/@daudi/casteachingdani
  • Avante Caballé, Marc: https://www.npmjs.com/package/@marcavante/casteachingavante
  • Brusca Manchón, Albert: https://www.npmjs.com/package/@abrusca/casteachingalbert
  • Goncear, Tudor: https://www.npmjs.com/package/tgoncearcasteaching
  • Moreno Giraldo, Jhon: https://www.npmjs.com/package/@john_3/casteaching
  • Pont Lopez, David: Palanka777: https://www.npmjs.com/package/@palanka777/casteaching_palanka
  • Rius Rivas, Alba: https://www.npmjs.com/package/@albariius/casteaching_arr
  • Tomas Altadill, Axel: TODO
  • Muñoz Zafra, Ferran: https://www.npmjs.com/package/casteaching_fmz
  • Urs, Gabriel: https://www.npmjs.com/package/@l3lackjack/casteaching
  • Tur Badenas, Sergi: Alumne DAM Prova: https://www.npmjs.com/package/@acacha/casteaching

More info

  • https://github.com/acacha/casteaching
  • https://github.com/acacha/casteaching_package

Creació de repositori propi

  • Scoped packages -> Prefix/espai de noms, evitar conflictes de noms -> @acacha/casteaching
  • Moure a un repositori a part
  • Actualitzar README
  • Github submodules