Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
brightroom
Advanced tools
Readme
Embeddable image editor for the modern web (TypeScript).
Brightroom can be installed by using either yarn or npm:
yarn add brightroom
// ...or
npm install brightroom
Then it can be included in a project using ES import statements:
// Important! Don't forget the CSS.
import 'brightroom/dist/brightroom.esm.css';
import Brightroom from 'brightroom';
<link
rel="stylesheet"
href="https://unpkg.com/brightroom/dist/brightroom.cjs.production.min.css"
/>
<script src="https://unpkg.com/brightroom/dist/brightroom.cjs.production.min.js"></script>
The files necessary for self-hosting can be found in the dist directory. For non ESM projects, the CJS version (brightroom.cjs.production.min.js) will be the right one.
Brightroom needs to be mounted to a container element. It will detect and adapt itself to the parent element's height and width. Setting an explicit size on the container element is recommended.
import 'brightroom/dist/brightroom.esm.css';
import Brightroom from 'brightroom';
const brightroom = new Brightroom({
image: './example.jpg',
container: document.getElementById('root')!
});
// Setting initial options is not required, in fact Brightroom has an API.
brightroom.setImage('image.png');
brightroom.unmount();
brightroom.mount(document.getElementById('newContainer')!);
FAQs
Embeddable image editor for the modern web (TypeScript).
The npm package brightroom receives a total of 0 weekly downloads. As such, brightroom popularity was classified as not popular.
We found that brightroom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.