Skip to content

Latest commit

 

History

History
78 lines (48 loc) · 1.48 KB

README.md

File metadata and controls

78 lines (48 loc) · 1.48 KB

Swiftly Tools

MIT License

Collection of frequent code and useful tools

Increase your coding speed with this tool

This tool helps you to shorten your code And it has a repository of different data with different languages ​​and it simplifies your work

Module for

  • Express.js
  • Mongoose.js
  • Vue
  • React
  • gsap

Authors

Installation

Install swiftly-tools with npm

  npm i swiftly-tools
const swiftly = require('swiftly-tools')
const str = 'Hello'
swiftly.string.isLatin(str) // true

Usage/Examples

const swiftly = require('swiftly-tools')

const str = 'Hello'
swiftly.string.isLatin(str) // true

app.use(swiftly.middleware.cors)

gsap.from(swiftly.gsap.from)
const { gsap } = require('swiftly-tools')

gsap.from('.box',gsap.from['fadeIn'])
// or
gsap.from('.box',gsap.anime({}).x(45).delay(1).duration(2))
//or

let obj = gsap.anime({}).x(45).delay(1).duration(2)

obj.scrollTrigger = gsap.scrollTrigger({})
.trigger('.box')
.toggleActions('paly none none reverse')
.start('top top')

gsap.from('.box', obj)

Improve

If you have an idea, you can inform us through GitHub issues section, and if you have the ability to upgrade the library, we will be happy to help us.

Docs

Here...!