
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
inhabit-api
Advanced tools
First, install inhabit-api
via npm command-line, as follows:
npm install --save-dev inhabit-api
Next, you must require a module and instantiate a class:
var InhabitAPI = require('inhabit-api');
Install inhabit-api
package:
bower install --save inhabit-api
Then include a <script>
tag like that:
<script src="bower_components/inhabit-api/dist/InhabitAPI.bower.js"></script>
Although its use is arguable. :evil:
// "info" must be an object with "id" property, which specifies module ID
var api = InhabitAPI.create(info);
// Log a "Module Start" analytics event
api.analytics.start();
// Log an "Interaction" analytics event
api.analytics.interaction();
// Log an "Module End" analytics event
api.analytics.end();
// Log an "Error"
api.analytics.error();
COPYRIGHT (c) 2016 rand0me
BSD ISC License
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Be free to create pull requests
FAQs
Inhabit API Hepler
The npm package inhabit-api receives a total of 7 weekly downloads. As such, inhabit-api popularity was classified as not popular.
We found that inhabit-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.