New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuxtjs/icon

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/icon - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

10

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.1.1"></a>
## 1.1.1 (2017-10-04)
**Note:** Version bump only for package @nuxtjs/icon
<a name="1.1.0"></a>

@@ -7,0 +15,0 @@ # [1.1.0](https://github.com/nuxt/modules/compare/@nuxtjs/icon@1.0.1...@nuxtjs/icon@1.1.0) (2017-09-21)

5

package.json
{
"name": "@nuxtjs/icon",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"main": "index.js",
"repository": "https://github.com/nuxt/modules",
"homepage": "https://github.com/nuxt/modules/tree/master/modules/icon",
"repository": "https://github.com/nuxt-community/pwa",
"publishConfig": {

@@ -9,0 +8,0 @@ "access": "public"

@@ -1,32 +0,1 @@

# Icon
[![npm](https://img.shields.io/npm/dt/@nuxtjs/icon.svg?style=flat-square)](https://www.npmjs.com/package/@nuxtjs/icon)
[![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/icon/latest.svg?style=flat-square)](https://www.npmjs.com/package/@nuxtjs/icon)
> Automatically generates app icons and favicon with different sizes using [jimp](https://github.com/oliver-moran/jimp).
- This module fills `manifest.icons[]` with proper paths to generated assets that is used by [manifest](../manifest) module.
- Source icon is being resized using *cover* method.
## Setup
- Add `@nuxtjs/icon` dependency using yarn or npm to your project
- Add `@nuxtjs/icon` to `modules` section of `nuxt.config.js`
```js
modules: [
// Simple usage
'@nuxtjs/icon',
// With options
['@nuxtjs/icon', { iconSrc: '' }],
]
````
- Create `static/icon.png`. Recommended to be square png and >= `512x512px`
## options
### `iconSrc`
- Default: `[srcDir]/static/icon.png`
### `sizes`
- Default: `[16, 120, 144, 152, 192, 384, 512]`
Array of sizes to be generated (Square).
Please refer to [nuxt-community/pwa](https://github.com/nuxt-community/pwa) for documentation.
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc