
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@swyger/client-storage
Advanced tools
Swyger Storage Client JS library is used for Swyger Server as consumer Rest API for CRUD operation on a file! Visit the master branch: https://github.com/coorise/swyger-js-client-storage.git
Swyger Client is used for Swyger Server as consumer Rest API. Visit the master branch: https://github.com/coorise/swyger-js-client-storage.git
You can download the swyger database client js library on: https://www.unpkg.com/@swyger/client-storage
then save it somewhere in your directory like "/dist/swyger-client-storage.min.js"
<script type="module">
import SwygerStorageClient from './dist/swyger-client-storage.min.js'
//import SwygerStorageClient from '@swyger/client-storage' //with npm for node module
let config={
//Configure the offline DB
OFFLINE_DB_NAME:{
DATABASE:'swyger_database'
},
//Configure the server
HOST_SERVER:{
AUTH:'http://localhost:4100', //Required for protected route
STORAGE:'http://localhost:4400',
},
API_VERSION:{
AUTH:'/api/v1',
STORAGE:'/api/v1',
},
// A Unique Api key for all your servers
API_KEY:'your_api_key'
}
let client= SwygerStorageClient.init(config)
//CRUD with File in realtime
let storageConfig={ //Discord(unlimited storage available with discord bot)/(soon AWS, Google)....
token:'discord-bot-token',
channelId:'discord-channel-id'
}
let location='local' //discord/aws/google
let storageRef=client?.storage(location,storageConfig).ref('/your/parent/ref') //like firebase storage
//storageRef.upload({object},callback)
//...
</script>
Note 0: Clone the repository:
git clone https://github.com/coorise/swyger-js-client-storage.git
Note 1: For more details about how to use our API Consumer, visit the DOC
: https://github.com/coorise/swyger-js-client-storage/tree/master/doc/swyger/api.
Note 2: If you want to modify the entire api (eg:children route,...), you have to work with the main project (installing Node JS with the project dependencies npm i
)
then locate the ./src/api/api-route.js
,
once you are done just build it with npm run build
,
to get your new library in dist
folder.
If you have any suggestion, feature to add ...etc
MIT: You can use it for educational/personal/business purpose!
FAQs
Swyger Storage Client JS library is used for Swyger Server as consumer Rest API for CRUD operation on a file! Visit the master branch: https://github.com/coorise/swyger-js-client-storage.git
The npm package @swyger/client-storage receives a total of 0 weekly downloads. As such, @swyger/client-storage popularity was classified as not popular.
We found that @swyger/client-storage 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.