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

ipapp

v0.0.3-14

Published

IPapp is an Instant Places application generator. It will create the basic application structure, contact points and will keep your manifest file updated in the process.

Downloads

13

Readme

Using IPapp

IPapp is an Instant Places application generator. It will create the basic application structure, contact points and will keep your manifest file updated in the process.

It is a recommended workflow as it will guide you and help you getting started with Instant Places Applications.

Installation

IPapp is written in NodeJS. Just grab a suitable copy for your platform from the official site and install it. The installer should include npm, so you can run:

npm install -g IPapp

And we're done. IPapp is installed. You should now have an ipapp executable available in your system.

Application Initialization

The first thing you need is a project folder. Any folder will do the job. Then, in the folder, run the initialization command:

ipapp init

The generator will then ask you about some details of your application:

  • name
  • description
  • version
  • your name
  • your e-mail
  • and some keywords that properly identify your application.

This information is required to generate the first version of your manifest.json file. This file should be in the root folder and contain the details you previously entered.

Additionally, a basic structure of your application should exist in your directory.

Generating Contact Points

Your application won't do much until you generate some contact points. At the moment, the generator supports the following contact points:

  • Public display
  • Mobile Device
  • Place Web Page

To generate a contact point just run the following command in your project's root folder:

ipapp contactpoint <type>

The type argument can be display, mobile or web. Notice that the manifest file is updated with the corresponding contact point that was generated. This command will check for the manifest file, so it is mandatory to run it in a previously initialized project.

Serving Your Application

For development purposes, IPapp is bundled with a simple static http server. You can use it to quickly test your application, without any deployment process. To use it, you can run:

ipapp server

This will start the http server in port 8888, by default. Optionally you can set a specific port:

ipapp server 12345

Future Work

Application Build:

  • Minify CSS and javascripts
  • Compile Coffescript, Sass and Less

Configuration steps generator.

Regular Application Structure:

+-AppName/
  +-display/
  | +-index.html
  | +-style/
  |   +-style.css
  | +-script/
  |   +-lib/
  |     +-specific_lib.js
  |   +-main.js
  +-mobile/
  | +-index.html
  | +-style/
  |   +-style.css
  | +-js/
  |   +-main.js
  +-common/
  | +-js/
  |   +-api.js
  |   +-scheduler.js
  |   +-presentation_units.js
  |   +-other_libraries.js
  | +-css/
  |   +-global.css
  | +-img/
  |   +-logo.png
  |   +-user.png
  +-subscription/
  |   +-index.html
  +-activation/
      +-index.html