Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@emplodies/spaceship
Advanced tools
🚀 Utilities for a wide development world like the universe.
Explore the docs »
·
🐞 Report Bug
·
🕊 Request Feature
·
🌈 Enhancement
spaceship is a utility library for JavaScript developers who make web services.
We want to contribute to productivity improvement by providing frequently used functions in the utility.
There are 10 useful utility functions in spaceship 1.0.
asyncState
Easily manage status that pending, success, failure at asynchronous request
detectBrowser
get browser info to use this info to handle many ituations
scriptLoader
When we want to dynamically import scripts.
isMobile
Detect the userAgent is Mobile
getPadNumber
get formatted number string what you want.
normalizeKeyword
It can be used in user search keyword case and also it can be used to prevent typos to see accurate results
objToParam
Sometimes we make url with parameters from object data.
paramsToObj
when we develop web service, we frequently get data params and change to object
toTimeString
get TimeStamp from system time stamp
uniqueKey
generate Unique Key ( If you want some salt :)
Using npm:
$ npm i @emplodies/spaceship
If you want to download by selecting the util
$ npm i @emplodies/spaceship.detect-browser
In a browser:
$ Sorry! Wait For a while. we'll prepare soon.
import detectBrowser from "@emplodies/spaceship.detect-browser";
// If you use safari,
detectBrowser();
// => 'Safari'
// If you use Opera(or OPR)
detectBrowser();
// => 'Opera'
Our library Spaceship document site
Any kind of contribution is welcome. There are many ways to contribute to this project.
Questions about the utilities provided by spaceship can be helpful to developers who are experiencing the same difficulty. If you have any questions about using the utility, please leave it as an issue.
We encourage all developers to share their content. :)
If there is a bug in the existing utility or there is an error in the managed document, please report it as an issue.
It is very helpful in making better open source.
You can add a utility to spaceship.
When suggesting new features, please follow the procedure below.
Make new issue with enhancement
template. And assign three maintainer.
Check Contributing Guide.
Fork the project.
Create a pr feature branch
$ git checkout -b pr/you-new-utils
Open a pull request.
$ npm run install
$ npm run test
When you add your own util to this repo, check these rules ✅
Spaceship is MIT licensed
FAQs
spaceship
We found that @emplodies/spaceship demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.