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

avatar-initials

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avatar-initials - npm Package Versions

2

6.0.0

Diff

Changelog

Source

6.0.0 (January 24th, 2023)

  • Added a React component, this does not currently support non-Gravatar fallbacks when using Gravatar.
  • Added primarySource setting to provide a default to be used unless missing.
  • Added offset support to Initials.
  • Added custom sizing to Initials.
  • Updated types with descriptions from JSDoc.
  • Move from nyc to c8 for coverage.
  • BREAKING CHANGE: Updated the following setting keys: initial_fg => color initial_bg => background initial_size => fontSize initial_weight => fontWeight initial_font_family => fontFamily allowGravatarFallback => useGravatarFallback github_id => github_id
matthewcallis
published 5.0.1 •

Changelog

Source

5.0.1 (January 19th, 2023)

  • 9 years old 🎂!
  • Simplify GitHub Avatar URL
  • Convert fallback data URI to raw SVG to save ~400 bytes
  • Update dependencies
  • Fix types for https://github.com/MatthewCallis/avatar/issues/44
matthewcallis
published 5.0.0 •

Changelog

Source

5.0.0 (January 8th, 2021)

  • 7 years old 🎂!
  • Update dependencies (none, just for dev).
  • Support for ESM via import, CJS via require, and IIFE for browsers.
  • Make initialAvatar a static method
  • Clean up issues from age
matthewcallis
published 4.1.1 •

matthewcallis
published 4.1.0 •

Changelog

Source

4.1.0 (May 21st, 2018)

  • Add support for setSourceCallback, called when image source is set. Useful to cache avatar sources provided by third parties such as Gravatar. PR 20
matthewcallis
published 4.0.0 •

Changelog

Source

4.0.0 (May 13th, 2018)

  • Update dependencies.
  • Use Babel 7 with @babel/preset-env targeting "last 2 versions", "ie 11"
  • Use Object Spread instead of Object.assign
  • Remove Leakages tests
  • Add module and jsnext:main to the package.json
  • Remove Code Climate
matthewcallis
published 3.0.2 •

Changelog

Source

3.0.2 (April 2nd, 2018)

  • Update dependencies.
  • Rebuild browser build (not in npm).
matthewcallis
published 3.0.1 •

Changelog

Source

3.0.1 (December 14th, 2017)

  • Update dependencies.
  • Rebuild browser build (not in npm).
matthewcallis
published 3.0.0 •

Changelog

Source

3.0.0 (April 24th, 2017)

  • Remove jQuery Support.
  • Node build.
  • Browser build (not in npm).
  • Move from Istanbul/Mocha/PhantomJS to ava/nyc.
  • Use md5 package.
matthewcallis
published 2.6.0 •

2
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