Nodejs Client package for Jigsaw-Code/outline-server
GitHub: github.com/murka/outlinevpn-api
NPM: npm.im/outlinevpn-api
Example:
import { OutlineVPN } from 'outlinevpn-api'
const outlinevpn = new OutlineVPN({
apiUrl: process.env.OUTLINE_API_URL,
fingerprint: process.env.OUTLINE_API_FINGERPRINT
})
async function main() {
const users = await outlinevpn.getUsers()
console.log(users)
}
main()