Socket
Book a DemoInstallSign in
Socket

polymer-npm-wrapper

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polymer-npm-wrapper

Unofficial wrapper for getting latest version of Polymer from Git as NPM dependency and exporting it as ES2015 module.

1.1.1
latest
Source
npmnpm
Version published
Maintainers
6
Created
Source

polymer-npm-wrapper - :warning: Deprecated

Unofficial wrapper for getting Polymer v1.8.1 from Git as NPM dependency and exporting it as ES2015 module.

How to use

Install with Yarn or NPM client

$ yarn add polymer-npm-wrapper
--- or ---
$ npm install polymer-npm-wrapper --save

add the Polymer library in your main component file

<link rel="import" href="./node_modules/@polymer/polymer/polymer.html">

then in any Javascript class files that requires Polymer you can now do a simple import

import {Polymer} from "polymer-npm-wrapper";

Known issues

  • Since Polymer isn't defined as an ES2015 module you have to to import both the HTML file and the JS module.
  • This package downloads Polymer from the GitHub repo at its latest version, but do not directly downloads all of the dependencies. You may need them if you want to use some of its CLI tools, like WCT.

License

Released under the Apache 2.0 license.

Keywords

polymer

FAQs

Package last updated on 16 Apr 2018

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.