Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Easy and reliable type detection with ES6+ support.
Desktop Browsers:
Mobile Browsers:
using npm
npm i ee-types
using bower
bower i ee-types
node
let types = require('ee-types');
require.js
you have to configure require.js to point the bower prefix to the bower_components folder.
requirejs.config({
paths: {
'bower': '/js/bower_components/'
}
});
and finally load the component
require(['bower/ee-types/dist/ee-types.min'], function(types) {
});
Browser & Vanilla
<script src="bower/ee-types/dist/ee-types.min" />
var types = window.ee.types;
Explicity test for a type
types.array([]) // true
Get the type of some input
types(/[a-z]+/gi) // regexp
var types = require('ee-types');
types.string('nope'); // true
types.strign(new String('yeah')); // true
types(2) // number
types([]]) // array
types(new Array()]) // array
types(new Int8Array()]) // int8Array
types.promise(Promise.all()) // true
FAQs
Reliable & easy Js & ES Type detection
The npm package ee-types receives a total of 1,760 weekly downloads. As such, ee-types popularity was classified as popular.
We found that ee-types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.