Site | NPM Module | GitHub Repo
sniips is the official npm module of Sniips, a free app for creating custom text snippets that you can access on all of your devices!
Yes, this module works in both Node and browser environments, including compatibility with Webpack and Browserify!
- Getting proxy lists
You can use so much of sniips
for free, but if you want to do some advanced stuff, you'll need an API key. You can get one by signing up for a Sniips account.
Install with npm if you plan to use sniips
in a Node project or in the browser.
npm install sniips
If you plan to use sniips
in a browser environment, you will probably need to use Webpack, Browserify, or a similar service to compile it.
const sniips = new (require('sniips'))({
// Not required, but having one removes limits (get your key at https://sniips.com).
apiKey: 'api_test_key'
});
Install with CDN if you plan to use Sniips only in a browser environment.
<script src="https://cdn.jsdelivr.net/npm/sniips@latest/dist/index.min.js"></script>
<script type="text/javascript">
var sniips = new Sniips({
// Not required, but having one removes limits (get your key at https://sniips.com).
apiKey: 'api_test_Key'
});
</script>
You can use sniips
in a variety of ways that require no installation, such as curl
in terminal/shell. See the Use without installation section below.
After you have followed the install step, you can start using sniips
to create custom text snippets that you can access on all of your devices
For a more in-depth documentation of this library and the Sniips service, please visit the official Sniips website.
# Standard
curl -X POST https://api.sniips.com
Sniips is a free text snippet manager that lets you create custom text snippets that you can access on all of your devices!
If you are still having difficulty, we would love for you to post a question to the Sniips issues page. It is much easier to answer questions that include your code and relevant files! So if you can provide them, we'd be extremely grateful (and more likely to help you find the answer!)
- coming soon!
Ask us to have your project listed! :)