Using this library, you can easily implement ONS in your dApp.
ONS integration could make your apps more user-friendly and moreover you can offer your customers more features which makes your app even more professional.
npm i ons.js
import ONS from 'ons.js'
const = new ONS({provider})
We recommend to check our Official Documentation