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.
as-data-uri-cli
Advanced tools
Readme
Command line tool to encode data into a data URI.
Similar to data-uri-to-file-cli
, but
data:text/plain,hello%20world
)Usage:
as-data-uri [--url-encoded] [--mime mime-type] [--charset utf8]
Options:
--url-encoded -u Url-encode instead of base64.
--mime -m Specify a mime type. Default: text/plain.
--charset -c Specify an optional charset (for text only).
Examples:
echo -n 'hello world' | as-data-uri --mime text/plain --url-encoded
cat picture.png | as-data-uri --mime image/png | pbcopy
If you have installed it:
echo -n 'Hello World!' | as-data-uri -m text/plain -u
# data:text/plain,hello%20world
cat foo.png | as-data-uri -m image/png
# data:image/png;base64,iVBORw0K…CYII=
If you have a question or have difficulties using as-data-uri-cli
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.
FAQs
Command line tool to encode data into a data URI.
The npm package as-data-uri-cli receives a total of 1 weekly downloads. As such, as-data-uri-cli popularity was classified as not popular.
We found that as-data-uri-cli 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.