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

cardifyjs

v1.0.0

Published

[![forthebadge](http://forthebadge.com/images/badges/built-by-developers.svg)](http://forthebadge.com) [![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com) [![forthebadge](http://forthebadge.com/images/badges/

Downloads

2

Readme

CARDIFY

forthebadge forthebadge forthebadge forthebadge forthebadge

  • Track: Common Core
  • Curso: JS Deep Dive: Crea tu propia librería usando JavaScript
  • Unidad: Producto final

Implementar un plugin de jQuery que dado un contenedor debe buscar todas las imágenes que encuentre dentro del contenedor y reemplazarlas por un nuevo elemento <figure> que contenga la imagen (<img>) además de un <figcaption> con el texto del atributo alt de la imagen.


Herramientas

  • HTML5.
  • CSS 3
  • Java Script ES6
  • Node JS
  • Babel
  • NPM

Getting Started (Como lo va a usar)

Instalación - Global (navegador)

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="path-to-cardify.js"></script>

Uso

// `container` es el selector del contenedor donde se buscarán todas las
// imágenes a ser procesadas.
$(container).cardify({});

Options

$('#offCanvas').offcanvas({    
    role: "dialog",
    modifiers: "left,overlay",
    baseClass: "c-offcanvas",
    modalClass: "c-offcanvas-bg",
    contentClass: "c-offcanvas-content-wrap",
    closeButtonClass: "js-offcanvas-close",
    bodyModifierClass: "has-offcanvas",
    supportNoTransitionsClass: "support-no-transitions",
    resize: true,
    triggerButton: '#triggerButton' ,
    modal: true,
    onOpen: function() {},
    onClose: function() {},
    onInit: function() {}
})
.on( "create.offcanvas", function( e ){ } )
.on( "open.offcanvas", function( e ){ } )
.on( "opening.offcanvas", function( e ){ } )
.on( "close.offcanvas", function( e ){ } )
.on( "closing.offcanvas", function( e ){ } )
.on( "resizing.offcanvas", function( e ){ } );

Options

Set instance options by passing a valid object at initialization, or to the public defaults method. Custom options for a specific instance can also be set by attaching a data-offcanvas-options attribute to the target elment. This attribute should contain the properly formatted JSON object representing the custom options.

 data-offcanvas-options='{ "modifiers": "left,overlay",... }'

| Name |Default |Type| | --- |---|---| | modifiers | "left,overlay" |string| | baseClass | "c-offcanvas" |string| | modalClass | "c-offcanvas-bg" |string| | contentClass | "c-offcanvas-content-wrap" |string| | closeButtonClass | "js-offcanvas-close" |string| | role | "dialog" |string| | bodyModifierClass | "has-offcanvas" |string| | supportNoTransitionsClass | "support-no-transitions" |string| | resize | false |boolean| | triggerButton | null |string| | onInit | null |function| | onOpen | null |function| | onClose | null |function|

Ejemplos

Aqui va la funcionalidad de la libreria View Demo


Dependencies

  • jQuery

Cómo nos organizamos?

Semana 1

Jueves 25 de Enero

  • Formar equipo.
  • Decidir como grupo, cuál reto realizar

Viernes 26 de Enero

  • establecer un menucanvas como reto.

Sabado 27 de Eenero y Domingo 28 de Enero

  • Averiguar y buscar ejemplos de menu canvas.
  • subiendo estructura básica y crenado package json con npm.

Semana 2

Lunes 29 de Enero

  • Subiendo primera version del readme.
  • Implementar funcionalidad esencial.

Martes 30 de Enero

  • Cambio de reto escogido por el reto N°2.
  • Implementar funcionalidad esencial.

Semana 3

Miércoles 31 de Enero

  • subir segunda version del readme
  • Completar implementación de librería y ejemplo principal (usando la librería).
  • Preparar tu demo/presentación.
  • Publicar el ejemplo principal (index.html) en GitHub pages.

Jueves 2 de Febrero

  • Hacer code review con tus compañeras e instructorxs.
  • Preparar tu demo/presentación.
  • Publicar el ejemplo principal (index.html) en GitHub pages.

Desarrollado por:

  • Brenda Mesias
  • Elizabeth Alcala
  • Ysabel Campos