Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
export-appsync
Advanced tools
Readme
Simple command line program to export AWS Appsync resolvers as VTL files - Perfect for exporting an existing appsync API.
If you've ever used AWS AppSync, you know that you can export the Graphql schema but, there is no way to export your resolvers via the console, the only option you have is to manually copy paste resolvers to files which is a no-go if you have a fairly large API with many resolvers deployed. This commandline exporter will allow you to export all of your resolvers to a local machine for development/archival/redeployment purposes.
$ npm i export-appsync -g
$ export-appsync -a api-id -k access-key-id -s secret-access-key -r region -o output-dir
Where api-id is the ID of the appsync API you're exporting, access-key-id & secret-access-key are your AWS programatic access keys and region is the AWS region where you API is deployed in.
Each of the types defined in your Graphql schema(including Query & Mutation) will have its own directory and fields under which its resolvers are saved. For example, if you have a type 'User' with a field 'media', the resolvers for 'media' will be saved as User/media-request-mapping-template.vtl
and User/media-response-mapping-template.vtl
respectively.
FAQs
Export AWS Appsync resolvers to vtl files
The npm package export-appsync receives a total of 5 weekly downloads. As such, export-appsync popularity was classified as not popular.
We found that export-appsync 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.