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

@yellowspot/web-utils

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yellowspot/web-utils

# npm [@yellowspot/web-utils](https://www.npmjs.com/package/@yellowspot/web-utils)

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

@yellowspot/web-utils

npm

@yellowspot/web-utils

Components

Image with fallback/placeholder

import { Img } from '@yellowspot/web-utils';

import placeholder from './placeholder.png';

...

<Img
  src="https://some.image.png"
  fallback={placeholder}
  alt="logo"
  height="140"
  //...others img valid props
/>

Development

Getting Started with Create React App

This project was bootstrapped with Create React App.

In the project directory, you can run:

npm start

Runs the sample app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the library for production to the dist folder.\

FAQs

Package last updated on 27 Mar 2021

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

  • 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