Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
squid-core
Advanced tools
Device agnostic shared code for OSX and IOS.
Squid is build on top of cool open source projects such as:
All data are served by the Github API.
This package is not intended to be used as a stand alone library but you might need to install it for development purpose with the following command:
$ npm install
The application client ID and his secret are stored into a JSON file called github.json
at the project's root. For obvious security reasons this file is not published. See Unit Tests' section for more details about file content.
// New Squid Core instance
var SquidCore = require('squid-core')
// Setup instance with custon settings
SquidCore.setup({
locale: {
logger: false
, github: {
credentials: {
client_id: GITHUB.client_id
, client_secret: GITHUB.client_secret
}
}
}
, envName: 'test'
})
SquidCore._VERSION // return '0.4.0'
// Get config value
SquidCore
.getConfig('github.pagination') // return '50'
// New User model
var username = 'michael'
, model = SquidCore.model('user')
, user = new model({ name: username })
user.get('name') // return 'michael'
First you need to add the ./github.json
to the package root with the following content:
{
"client_id": "xxxx",
"client_secret": "xxxx"
"username": "a-valid-gitub-username",
"password": "a-valid-gitub-password",
"token": "a-valid-oauth-token-or-false"
}
Then run the following command to perform unit tests:
$ npm test
See the roadmap future developments.
Squid is MIT licensed
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
0.4.11 - 2015-11-26
Changed:
remove
, length
and clear
methods to Storage classFAQs
Device's shared agnostic code
The npm package squid-core receives a total of 15 weekly downloads. As such, squid-core popularity was classified as not popular.
We found that squid-core 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.