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

svelte-meta

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-meta - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

3

package.json
{
"name": "svelte-meta",
"description": "Easily generate SEO metadata for Svelte",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT",

@@ -37,3 +37,2 @@ "main": "dist/index.js",

"rollup-plugin-svelte": "^6.1.0",
"rollup-plugin-typescript2": "^0.29.0",
"svelte": "^3.29.4",

@@ -40,0 +39,0 @@ "svelte-preprocess": "^4.5.2",

@@ -5,2 +5,8 @@ # Svelte Meta

### Features
- Automatically set relevant social meta tags common attributes like `title` and `description`
### Usage
```sh

@@ -22,4 +28,22 @@ npm i svelte-meta

`svelte-meta` will automatically set relevant HTML meta and `og:` properties, along with a `<title>` tag if a `title` is specified.
#### Svelte-preprocess
`svelte-meta` is written in Typescript, and requires Svelte preprocessing to be enabled. If you're using [Sapper](https://sapper.svelte.dev/) this comes enabled by default.
To enable preprocessing, install `svelte-preprocess` and include it in the svelte config in your `rollup.config.js` or `webpack.config.js`
```sh
npm i svelte-preprocess
```
```js
import autoPreprocess from 'svelte-preprocess';
svelte({
preprocess: autoPreprocess()
});
```
See the [svelte-preprocess docs](https://github.com/sveltejs/svelte-preprocess) for more.
### Properties

@@ -26,0 +50,0 @@

Sorry, the diff of this file is not supported yet

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