Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
xjconst is cli based url shortener works through xjconst api made in nodejs by @anishh.arc user in instagram
this is is simple url shortener nodejs cli made by @anishh.arc
user in instagram, it contains simple and easy commands to generate short urls form long urls with time expirations and user limits
npm install -g xjconst
or in short
npm i -g xjconst
or uninstall
npm uninstall -g xjconst
xjconst --help
for help and options
xjconst --version
for checking version
xjconst -n YOURNAME
to hello your name (required)
same as -n YOURNAME
for -c URL
for creating url, -s SHORTKEY
or -s URLID
for searching into database
alternatively you can use --name
for -n
, --create
for -c
and --search
for -s
use while shortening url with -c
or --create
if needed for expirations
-d
or --day
and numeric days example -d 1
for 1 day
-h
or --hour
and numeric hour example -h 1
for 1 hour
-m
or --minute
and numeric minute example -m 1
for 1 minute
-u
or --user
and numeric users allowed example -u 11
for 11 users
creating a short url
xjconst -n . -c https://github.com/arc22-dev/xjconst
creating a short url with expiration
xjconst -n . -c https://github.com/arc22-dev/xjconst -d 1 -h 1 -m 1 -u 11
searching urls all
xjconst -n . -s all
in a short url example xjconst02.cf/digit6
"digit6" is a short url key and their id must be numeric and unique like 1, 2, 3... etc.
xjconst -n . -s digit6
or by id
xjconst -n . -s 5
everyone's suggestions are welcome, this cli is in a demonstrating stage several release will come out shortly with good servers anf features, do follow.
@anishh.arc - instagram
FAQs
xjconst is cli based url shortener works through xjconst api made in nodejs by @anishh.arc user in instagram
The npm package xjconst receives a total of 1 weekly downloads. As such, xjconst popularity was classified as not popular.
We found that xjconst 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.