import { verify } from "lsos"; // npm install lsos verify({ // Your project's name projectName: "My Open Source Project", // Your npm package that calls this `verify()` function npm: "my-open-source-project", // Never block users trustMode: true, });
console.warn
telling them that an activation key is required. (Smaller projects don't need an activation key, more infos at the FAQ.)trustMode: true
the Lsos library never blocks your users from using your code. We recommend using trust mode at the beginning and afterwards, if you are not satisfied with your revenue, to consider using enforce mode.