Socket
Socket
Sign inDemoInstall

component-angular-partials

Package Overview
Dependencies
3
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    component-angular-partials

Angular Template Handling for Component


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
35.8 kB
Created
Weekly downloads
 

Readme

Source

Component-Angular-Partials

A component plugin for adding partials to your assets directory. Support for compiling languages too.

Specify the partials under partials in component.json.

Usage Example

var angularPlugin = module.exports.angularPlugin = require('component-angular-partials');

// Specify the extensions you want to be able to compile. By default it is undefined and the plugin will crash.

angularPlugin.compileDefinitions = {
  jade: function(path, string) {
          return jade.compile(string, {filename: path})();
        }
};
builder.use(angularPlugin);

Keywords

FAQs

Last updated on 30 Aug 2013

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