New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

angular-docgen-loader

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-docgen-loader

A loader for webpack that allows importing files as a String

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

[![tests][tests]][tests-url]

angular-docgen-loader

A loader that works in conjunction with Angular Docgen to load component definitions as a JSON object.

This repo is a direct fork of the webpack raw loader. Any setup relating to raw loader should also work for this loader.

Getting Started

$ npm install angular-docgen angular-docgen-loader --save-dev

Then add the loader to your webpack config. For example:

file.js

import ComponentDoc from '!angular-docgen-loader!./component.ts';

webpack.config.js

// webpack.config.js
module.exports = {
  rules: [
    {
      test: /!angular-docgen-loader!/,
      use: "angular-docgen-loader"
    }
  ]
};

Examples

Contributing

Please take a moment to read our contributing guidelines if you haven't yet done so.

CONTRIBUTING

License

MIT

Keywords

webpack

FAQs

Package last updated on 12 Apr 2019

Did you know?

Socket

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