Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Chober.js - is a collection of methods that are used by programmers every day. We decided to put all the methods together so as not to copy them from project to project.
A collection of useful methods that are used by programmers every day. We decided to put all the methods together so as not to copy them from project to project.
Install with npm.
npm i chober
or download and install with script
.
<script src="chober.min.js"></script>
or cdn
<!-- Latest -->
<script src="https://cdn.jsdelivr.net/npm/chober/dist/chober.min.js"></script>
<!-- With version -->
<script src="https://cdn.jsdelivr.net/npm/chober@1.1.1/dist/chober.min.js"></script>
// ES6
import { isEmpty } from 'chober';
// CommonJS
const { isEmpty } = require('chober');
isEmpty([]);
// => true
// ES6
import _c from 'chober';
// CommonJS
const _c = require('chober');
_c.isEmpty([]);
// => true
_c.clone({ key: 'value' });
// => { key: 'value' }
If you import one method, other methods will not be imported.
// ES6
import isEmpty from 'chober/lib/isEmpty'; // ~600B
// CommonJS
const isEmpty = require('chober/lib/isEmpty'); // ~600B
isEmpty([]);
// => true
_c
binds to the window
.
<script src="chober.min.js"></script>
_c.isEmpty([]);
// => true
All methods you can find in our documentation.
© Valery Strelets
FAQs
Chober.js - is a collection of methods that are used by programmers every day. We decided to put all the methods together so as not to copy them from project to project.
The npm package chober receives a total of 60 weekly downloads. As such, chober popularity was classified as not popular.
We found that chober demonstrated a not healthy version release cadence and project activity because the last version was released 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.