Socket
Socket
Sign inDemoInstall

swiftscript

Package Overview
Dependencies
9
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiftscript

An interactive package to interect with swiftscript api


Version published
Maintainers
1
Weekly downloads
1

Weekly downloads

Readme

Source
SwiftScript

A node.js module allow to interect with SwiftScript Api easily.


Features

  • Easy To Use
  • Lightweight
  • Easy Integration
  • Object-oriented

Installation

Node.js 16.9.0 or newer is required.

  npm install swiftscript

or

npm install github.com/AAYAN717628/SwiftScript

Example

const SwiftScript = require("swiftscript");

const swiftscript = new SwiftScript("TOKEN")


// TRUTH 
const truth = swiftscript.truth().then(x => console.log(x))
// DARE
const dare = swiftscript.dare().then(x => console.log(x))
// RANDOM TRUTH AND DARE
const rtnd = swiftscript.randomtnd().then(x => console.log(x))
// TRIVA
const triva = swiftscript.triva(2).then(x => console.log(x))
// BORED 
const bored = swiftscript.bored().then(x => console.log(x))
// GUESS AGE
const age = swiftscript.agethink("aayan").then(x => console.log(x))
// GUESS GENDER
const gen = swiftscript.genderthink("aayan").then(x => console.log(x))
// ANIME FACTS
const af = swiftscript.animefacts().then(x => console.log(x))
// RANDOM FACTS
const facts = swiftscript.randomfacts().then(x => console.log(x))
// PARANOIA 
const paranoia = swiftscript.paranoia().then(x => console.log(x))
// DEVELOPER LINES
const dev = swiftscript.developerlines().then(x => console.log(x))
// NORMAL LINES
const lines = swiftscript.lines().then(x => console.log(x))
// IMAGE SEARCHER
const img = swiftscript.imgsearch("tv").then(x => console.log(x))

Documentation

Get Token

How to get Access Token ?

Vist these website register yourself after that you will been redirect to dashboard , on left side panel there will be a button named "Token" click on that and the token will be copied.

Authors

Support

For support, join our discord server

Keywords

FAQs

Last updated on 09 Nov 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc