Collection of frequent code and useful tools
This tool helps you to shorten your code And it has a repository of different data with different languages and it simplifies your work
- Express.js
- Mongoose.js
- Vue
- React
- gsap
Install swiftly-tools with npm
npm i swiftly-tools
const swiftly = require('swiftly-tools')
const str = 'Hello'
swiftly.string.isLatin(str) // true
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)
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.