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

angular2-template-project

v2.0.0

Published

This has grown bigger to be a simple seed/starter project. This is an angular 2 template project using which new projects can be developed.

Downloads

7

Readme

This has grown bigger to be a simple seed/starter project. This is an angular 2 template project using which new projects can be developed.

This project at aimed at angular 2 beginners.. and DOES NOT contains anything to do with unit testing(karma/jasmine/whatsitsname)

git : https://gitlab.com/FullMetal/angular2-template-project.git

How to use

  1. git clone https://gitlab.com/FullMetal/angular2-template-project.git
  2. cd angular2-webpack-starter
  3. npm i
  4. npm run start
  5. to deploy -> npm run build:prod. Deploy the 'dist' folder in apache or nginix. Make corresponding changes to apache conf.
  6. If you have never used apache, this will be simpler... https://www.npmjs.com/package/http-server

You might also need... Sample backend - a simple backend app. Adding the api used in frontend.Use this in tandem. https://gitlab.com/FullMetal/express-template-project

A much more simple backend project can be found here. Might not be fully compatible. https://gitlab.com/FullMetal/sample-backend-app

Features:

  • uses Webpack 1
  • lazy loading of feature modules
  • offline mode. Toggle from config/appConfig..json. Set to true by default. Add functions to DummyData. See examples in LoginService, DeviceService.
  • using config/env.json .. we should be able to switch config files depending on the environment
  • added a grid example on devices page (https://github.com/swimlane/ngx-datatable)
  • added a chart example on dashboard (https://github.com/swimlane/ngx-charts)
  • maintains user session using local storage

TODOs

  1. redirect to previous visited page if previous session is valid.
  2. add a register user feature.
  3. add tutorial.
  4. find a better way to package the css files.
  5. upgrade to Webpack 2