![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A small general purpose check library with arithmetic, array, environments, object, presence, regexp, string, time and type check functions. Available for Node.js and the browser.
Originally meant as a drop-in replacement for and forked from is.js.
Install with NPM:
npm install --save fi-is
Use in you application:
const is = require('fi-is');
is.nodejs(); // true
is.number(0); // true
Install with Bower:
bower install --save fi-is
Include the non-minified script for testing and development:
<script src="bower_components/fi-is/dist/fi-is.js"></script>
Or include the minified script for production:
<script src="bower_components/fi-is/dist/fi-is.min.js"></script>
Or, better yet, bundle it with the rest of the scripts.
Please keep you code tidy and readable and document appropriately using the following schema:
/**
* Checks for awesomeness.
*
* @param {String} str It receives a string or whatever.
*
* @returns {Boolean} It must return a boolean.
*
* @example
* is.awesome('fi-is'); // true
* is.awesome(1); // false
*/
is.awesome = function (str) {
return is.string(str) && str === 'fi-is';
};
If the method has more than one argument or it's unnecessary to include all of them, define the method's interfaces below it:
// ...
is.awesome.api['not'];
To build browser versions (dist):
gulp dist
To run tests:
npm test
To update the documentation files:
gulp docs
One-liner:
gulp && npm test
FAQs
Small check library for Node.js and the browser
The npm package fi-is receives a total of 12 weekly downloads. As such, fi-is popularity was classified as not popular.
We found that fi-is 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.