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

swim-dev-tools

v1.2.11

Published

### Change Log

Downloads

37

Readme

swim-dev 1.1.8

Change Log

1.1.8

  • js standard and js beautify now on board. You can run these easily by simply using swim-dev --clean --validate

1.1.7

  • modified draw cycle, so that element declares state dirty on draw, and no longer clocked to 166ms.
  • fixed an issue where our provided debug was messing with SocketJS.

Swim CLI, the easiest way to build Swim Apps.

platforms

This tool currently supports

  • [x] Web
  • [ ] Android (java)
  • [ ] iOS (xcode)
  • [ ] Other

features

  • [x] Supports LESS
  • [x] Supports SASS
  • [x] Generates index.html Fixture from EJS
  • [x] Packages Bower modules using 'require'
  • [x] Packages NPM modules
  • [x] Supports a number of loader formats out of the box (raw, image, style)
  • [x] Self contained dependencies, build tools do not need to mingle with your project
  • [x] Dev server with Hot Reload (no browser refresh)
  • [x] Support for ES6
  • [x] Tree Shaking
  • [x] Provides: jQuery, LoDash, Material Design Lite, Font Awesome, Material Icons
  • [x] Sugar around the Swim Client API with Web Workers

usage

serve

Creates a development server, with hot reload. Currently does not spin up a Swim services server (todo).

swim-dev --serve
  • Change Ports by using the --port=8081 flag. Default port is 8080

build

Builds the project for distribution.

swim-dev --build

run code beautifer

swim-dev --clean

run code linter

swim-dev --validate

benefits

  • Standard Collection of Swim supported libraries and components
  • Allows bower and npm module usage with project
  • Bundle Images, Style, Modules togther!
  • Easy to use!
  • Comes with a large number of base libraries, Swim Project has a clean and clear dependency chain
  • More to come!

roadmap

  • Support JSX with a JSX to inline function transform

getting started

Download and install Swim Dev Tools. Currently available on NPM. Requires NodeJS 6.x.x

npm install swim-dev-tools -g

The swim-dev command should now be available at the command line.

short cuts

Extra sugar to help you get around your project faster

  • $project_dir/components/$name_of_component is short handed to components/$name_of_component
  • $project_dir/store is short handed to store

provided modules / swim-dev injected

Double Unders are used in Swim-Dev. These Double Unders allow Swim-Dev to instance needed libraries.

__material__ // include material design lite in the project.

__fontawesome__ // include font awesome with the project.

You can get the debug status of the app. This pattern is for compatibility with other libraries that complain about our injection.

var isDebug = debug('app-name')();

Third Party Library

$() // jquery
moment // moment
_ // lodash
Router // a router instance from the Director Library
Script // script loader Script(url);
Lawnchair // lawnchair library
d3 // d3 visualization library
c3 // chart library

Swim inspired additions to the framework

Swim // swim-client
Recon // recon data library

tag // swim sugared X-Tag implimentation
Draw // swim draw manager can be used stand-alone

Store // swim flux store with webworker integration, sugars swim-client
Dispatcher // swim flux dispatcher

notes

  • When creating new controls using Material Design Lite when you add a Ripple, also remove Ripple events by adding mdl-js-ripple-effect--ignore-events to the HTML element's class list.

credits

Built with webpack, and a number of open source webpack modules.