Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@everestate/serverless-router-aws
Advanced tools
Serverless Router plugin to handle http, streaming and other events at AWS λ
Serverless Router plugin to handle http, streaming and other events at AWS λ
npm install @everestate/serverless-router @everestate/serverless-router-aws --save
Steaming events from AWS DynamoDB.
const FOOBAR_TABLE_STREAM_ARN = 'arn:aws:dynamodb:us-west-2:111122223333:table/FooTable/stream/2015-05-11T21:21:33.291';
router.dynamodb
.insert(FOOBAR_TABLE_STREAM_ARN, (ctx, _event) =>
console.log(`New Foobar record in inserted "${ctx.newItem}"`));
ctx
- routing context, it's content dependent on event type
event
- API gateway event, same as dispatch
receives
DynamoDB adapter implements insert
, modify
and remove
methods.
See the documentation for more details: docs/DynamoDB.md
HTTP Events from AWS API Gateway.
router.http
.get('/users/:id', (ctx, event) =>
console.log(`get user by id "${event.pathParameters.id}"`))
.post('/users', (ctx, event) =>
console.log(`create new user with attributes "${event.body}"`));
ctx
- routing context, currently it's always an empty object
event
- API gateway event, same as dispatch
receives
Http adapter implements get
, post
, patch
, put
, delete
and all
methods.
See the documentation for more details: docs/Http.md
FAQs
Serverless Router plugin to handle http, streaming and other events at AWS λ
The npm package @everestate/serverless-router-aws receives a total of 7 weekly downloads. As such, @everestate/serverless-router-aws popularity was classified as not popular.
We found that @everestate/serverless-router-aws 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
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.