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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lifeai/la-ngx-library

v0.30.0

Published

Sample component library of one awesome development team

Downloads

86

Readme

la-ngx-library - Sample component library of one awesome development team

Status

  • click on a label to see issues

| Label | Description | |-------|-------------| | not-started | Work on issue/component is not yet started | | in-progress | Work in progress | | pull-request-pending | Pull request has been created and is waiting for peer review | | finished | Work on issue is finished, but may not yet be included into library release | | deployed | Component is now a part of the library release, and can be used by other users | | in-use | Component is being used in the Web frontend at least on one screen |

Demo

View all the directives in action at https://LIFEAI.github.io/la-ngx-library

How To Videos

  • la-ngx-library Overview
    • Library overview
    • Wiki
    • Git Issues
    • components as modules
    • src, tmp, dist, demo folders
    • gulpfile.js - example
    • angular.json - example
    • How to work with Zeplin, SCSS module for Zeplin, colors, icons
  • la-ngx-library live coding icons release
    • Live coding on icon component
    • working with SVG icons, optimizing, making SVG sprites, fixing SVG icons
    • How to make new library release, demo, docs, npmjs

Dependencies

  • Angular (requires Angular 2 or higher, tested with 2.0.0)

Installation

Install above dependencies via npm.

Now install @lifeai/la-ngx-library via:

npm install --save @lifeai/la-ngx-library

SystemJS

Note:If you are using SystemJS, you should adjust your configuration to point to the UMD bundle. In your systemjs config file, map needs to tell the System loader where to look for la-ngx-library:

map: {
  'la-ngx-library': 'node_modules/@lifeai/la-ngx-library/bundles/la-ngx-library.umd.js',
}

Once installed you need to import the main module:

import { LaButtonModule } from '@lifeai/la-ngx-library';

The only remaining part is to list the imported module in your application module. The exact method will be slightly different for the root (top-level) module for which you should end up with the code similar to (notice LaButtonModule .forRoot()):

import { LaButtonModule } from '@lifeai/la-ngx-library';

@NgModule({
  declarations: [AppComponent, ...],
  imports: [LaButtonModule.forRoot(), ...],  
  bootstrap: [AppComponent]
})
export class AppModule {
}

Other modules in your application can simply import LaButtonModule :

import { LaButtonModule } from '@lifeai/la-ngx-library';

@NgModule({
  declarations: [OtherComponent, ...],
  imports: [LaButtonModule, ...], 
})
export class OtherModule {
}

Add Support for Icons

  • update your angular.json to ship library icons during build
"assets": [
  ...,
  {
    "glob": "**/*",
    "input": "./node_modules/@lifeai/la-ngx-library/assets/",
    "output": "./assets/"
  },
  {
    "glob": "**/*",
    "input": "./node_modules/@lifeai/la-ngx-library/sprites/",
    "output": "./assets/"
  }
],
"styles": [
  ...,
  "node_modules/@lifeai/la-ngx-library/style/colors.scss",
  ...,
  "src/styles.scss"
],

Usage

Button
<la-button [kind]="'primary'" [isDisabled]="true" [isHover]="true" [isWide]="true">Button</la-button>
Empty State
 <la-empty [name]="'messages'">
          <la-text [kind]="'title-2'">No Items found</la-text>
          <la-text [kind]="'title-2'">Create new message to start filling up space</la-text>
 </la-empty>

License

Copyright (c) 2019 LifeAI