
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@ax2/api-core
Advanced tools
API CORE documentation
yarn add @ax2/api-core
| Option | Description |
|---|---|
NODE_ENV | local, prod or dev |
LANG_FALLBACK | default lang to use (default ='en') |
LANG_KEYS | multilang keys (example 'fr,en') |
MEDIA_DIRECTORY | Directory on gcp in bucket |
GCP_PROJECT_ID | Project ID from gcp |
STORAGE_BUCKET | Name of the bucket in on gcp storage |
MEDIA_RESIZING | Set to 1 to use resize media |
MYSQL_DB_NAME | MySQL database name |
MYSQL_DB_USER | MySQL user |
MYSQL_DB_PASSWORD | MySQL password |
MYSQL_DB_HOST | MySQL host (default: 127.0.0.1) |
MYSQL_DB_PORT | Mysql Port (default: 3306) |
REDIS_HOST | Redis Host (default: 127.0.0.1) |
REDIS_PORT | Redis Port (default: 6379) |
REDIS_PASSWORD | Redis Password (default: '') |
REDIS_PREFIX | Redis prefix for cache key (default: '') |
REDIS_ENABLE | Set to 1 to enable Redis (default: disabled) |
SENTRY | Sentry DSN |
API_VERSION | API version return in response |
SITE_URL | SITE url for referer to allow cms preview |
import * as CORE from '@ax2/api-core';
class Article extends CORE.Citadelle {}
import { Citadelle } from '@ax2/api-core';
class Article extends Citadelle implements ModelItem {}
// Config connection
import { db, language, storage } from '@ax2/api-core';
// Controller core
import { MotherBase } from '@ax2/api-core';
// Helpers function
import { ApiResponse, redis, Sentry, Validator } from '@ax2/api-core';
// Model function
import { Citadelle } from '@ax2/api-core';
FAQs
API CORE documentation
We found that @ax2/api-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.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.