Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@svelte-put/avatar

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svelte-put/avatar - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

26

lib/README.md

@@ -11,2 +11,6 @@ <div align="center">

## `svelte-put`
This package is part of the [@svelte-put][github.monorepo] family. For contributing guideline and more, refer to its [readme][github.monorepo].
## Usage & Documentation

@@ -16,8 +20,24 @@

## [Changelog][github.changelog]
## Quick Start
## `svelte-put`
```html
<script lang="ts">
import Avatar from '@svelte-put/avatar/Avatar.svelte';
This package is part of the [@svelte-put][github.monorepo] family. For contributing guideline and more, refer to its [readme][github.monorepo].
export let id: string;
export let email = '';
export let firstName = '';
export let lastName = '';
</script>
<Avatar
src="https://your.api/avatar/{id}"
gravatar="{email}"
uiAvatar="{firstName}+{lastName}"
fallback="https://your.api/avatar/default"
/>
```
## [Changelog][github.changelog]
<!-- github specifics -->

@@ -24,0 +44,0 @@

10

package.json
{
"name": "@svelte-put/avatar",
"version": "1.0.15",
"version": "1.0.16",
"description": "Component and utils for handling avatar",

@@ -53,8 +53,8 @@ "type": "module",

"devDependencies": {
"@microsoft/api-documenter": "^7.19.27",
"@microsoft/api-extractor": "^7.33.7",
"@microsoft/api-documenter": "^7.19.28",
"@microsoft/api-extractor": "^7.33.8",
"@svelte-put/apirc": "^0.0.0",
"@svelte-put/tsconfig": "^0.0.0",
"@sveltejs/adapter-auto": "1.0.0",
"@sveltejs/kit": "1.1.0",
"@sveltejs/adapter-auto": "1.0.2",
"@sveltejs/kit": "1.3.10",
"@sveltejs/package": "1.0.2",

@@ -61,0 +61,0 @@ "@types/md5": "^2.3.2",

@@ -11,2 +11,6 @@ <div align="center">

## `svelte-put`
This package is part of the [@svelte-put][github.monorepo] family. For contributing guideline and more, refer to its [readme][github.monorepo].
## Usage & Documentation

@@ -16,8 +20,24 @@

## [Changelog][github.changelog]
## Quick Start
## `svelte-put`
```html
<script lang="ts">
import Avatar from '@svelte-put/avatar/Avatar.svelte';
This package is part of the [@svelte-put][github.monorepo] family. For contributing guideline and more, refer to its [readme][github.monorepo].
export let id: string;
export let email = '';
export let firstName = '';
export let lastName = '';
</script>
<Avatar
src="https://your.api/avatar/{id}"
gravatar="{email}"
uiAvatar="{firstName}+{lastName}"
fallback="https://your.api/avatar/default"
/>
```
## [Changelog][github.changelog]
<!-- github specifics -->

@@ -24,0 +44,0 @@

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