swiftscript

1.0.2 • Public • Published
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

Package Sidebar

Install

npm i swiftscript

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

12 kB

Total Files

14

Last publish

Collaborators

  • aayan717628