Socket
Socket
Sign inDemoInstall

angular-inliner-cli

Package Overview
Dependencies
24
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-inliner-cli

Inlines template and styles for compiled Angular components


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Install size
2.44 MB
Created
Weekly downloads
 

Readme

Source

Angular inline CLI

npm version

Inlines template and styles for compiled Angular components, modifies the compiled component and metadata files.

Installing

$ npm install angular-inliner-cli --save

Usage

ngi [-s|--silent] [-c|--compress] <directory>

  -s, --silent     Output only critical errors
  -c, --compress   Compress files before inlining

  <directory>      Directory where the compiled files are

Examples

ngi --compress dist/lib/

This would take all component.js and component.metadata.json files and recursively replace the templateUrl and styleUrls with the compressed content.

FAQs

Last updated on 09 Nov 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc