New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@indlekofer/media

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@indlekofer/media

media

latest
Source
npmnpm
Version
1.2.4
Version published
Maintainers
1
Created
Source

@indlekofer/media

reducer for media related changes.

export functions

setup

setup will be called at startup automaticaly (without force) and creates the store reducer. accepts one argument force (default true)

unset

remove the reducer. for cleanup methods and testing

handleChange

action with two arguments (key and value), no dispatch is needed

handleChangeAll

action with one argument (object of key values), no dispatch is needed

export constants

REDUCER

the actual injected reducers name

TYPE_CHANGE

dispatched action type for handleChange

TYPE_CHANGE_ALL

dispatched action type for handleChangeAll

FAQs

Package last updated on 14 Feb 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