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

locawebstyle

v3.10.0

Published

Front-end framework used by Locaweb

Downloads

825

Readme

Travis:Master

Locaweb Style with Gold color

Locastyle 3.0 (Barbecue)

This is a front-end framework with patterns of behaviors and styles to web projects. The focus of this framework is build admin interfaces and not websites. We design this interface with a team of UX and Front-end. We also use this interface in our own products here in Locaweb.

You can see all examples in this link.

How to install

You can use the Locaweb Style in many ways, but we suggest use direct of our server just adding this address in your project:

<head>
...
  <!-- Insert the CSS in HEAD -->
  <link rel="stylesheet" type="text/css" href="//assets.locaweb.com.br/locastyle/3.8.5/stylesheets/locastyle.css">
...
</head>
<body>
  <!-- Your code -->

  <!-- JQuery is a dependency -->
  <script src="http://code.jquery.com/jquery-2.0.1.min.js">

  <!-- Put the JS in your footer, always after jQuery (dependency) -->
  <script src="//assets.locaweb.com.br/locastyle/3.8.5/javascripts/locastyle.js"></script>
</body>

Installing via bower

To install the Locaweb Style using Bower:

$ bower install locawebstyle

Installing via npm

To install the Locaweb using Npm:

$ npm install locawebstyle

Read the manual

We maintain the docs of components and how they works here. If you use the Chrome, download here our extension to access the documentation more easily.

Do you want contribute?

Contribute is easy: make a fork and start to code. :-)

We have some instructions maintain the code more legible and organized. Sorry, this article still in portuguese and you can read here these instructions..

Read here the code guide of CSS and JavaScript to maintain a good practices of this project.

Running tests

Before sending any code, please run our automated tests:

$ bundle exec rake tests:run

It will run Jasmine tests and JShint.


pt-br version

Locastyle 3.0 (Barbecue)

Um framework front-end de comportamento e estilo para projetos web, com uma interface usada por milhares de usuários. Mantido pelos desenvolvedores front-end da Locaweb.

Você pode ver exemplos de painéis neste link.

Use o Locaweb Style

Você pode usar o Locaweb Style de várias formas: direto pelo nosso servidor, via Bower ou baixando os assets para usar offline.

Utilizando pelo nosso servidor

<head>
...
  <!-- Insert the CSS in HEAD -->
  <link rel="stylesheet" type="text/css" href="//assets.locaweb.com.br/locastyle/3.7.4/stylesheets/locastyle.css">
...
</head>
<body>
  <!-- Your code -->

  <!-- JQuery is a dependency -->
  <script src="http://code.jquery.com/jquery-2.0.1.min.js">

  <!-- Put the JS in your footer, always after jQuery (dependency) link -->
  <script src="//assets.locaweb.com.br/locastyle/3.7.4/javascripts/locastyle.js"></script>
</body>

Instalação via bower

Para instalar o Locaweb Style utilizando o Bower é bem simples:

$ bower install locawebstyle

Instalação via npm

Para instalar o Locaweb Style utilizando o Npm:

$ npm install locawebstyle

Documentação completa

Mantemos a documentação completa dos componentes e como eles funcionam aqui. Se você usar o Chrome, baixe nossa extensão para facilitar o acesso à documentação.

Quer contribuir?

Para contribuir é bico: Faça um fork do projeto aqui mesmo no GitHub e comece a codar! ;-) Existem algumas instruções para mantermos o código legível e organizado. Leia essas instruções aqui.

Leia também nossos padrões de código de CSS e JavaScript.

Rodando os testes

Antes de enviar seu código, rode nossa suite de testes:

$ bundle exec rake tests:run

Isso vai rodar os testes de Jasmine e o JShint.