Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/service-spec-types

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/service-spec-types

Types for CloudFormation Service Specifications

  • 0.0.105
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
194K
increased by13.94%
Maintainers
2
Weekly downloads
 
Created
Source

@aws-cdk/service-spec-types

Types and utils for CloudFormation Service Specifications

import { emptyDatabase, SpecDatabase } from '@aws-cdk/service-spec-types';
import * as fs from 'node:fs';
import * as zlib from 'node:zlib';

export function loadAwsServiceSpec(): SpecDatabase {
 const specDatabase = fs.readFileSync('db.json.gz'));
 const db = emptyDatabase();
 db.load(JSON.parse(zlib.gunzipSync(specDatabase).toString('utf-8')));
 return db;
}

FAQs

Package last updated on 13 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc