@epilot360/icons 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +15 -0
- package/dist/bundle.js +2 -0
- package/dist/bundle.js.map +1 -0
- package/iac/node_modules/@balena/dockerignore/LICENSE.md +206 -0
- package/iac/node_modules/@balena/dockerignore/README.md +261 -0
- package/iac/node_modules/@cspotcode/source-map-support/LICENSE.md +21 -0
- package/iac/node_modules/@cspotcode/source-map-support/README.md +289 -0
- package/iac/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
- package/iac/node_modules/@jridgewell/resolve-uri/README.md +40 -0
- package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
- package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
- package/iac/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
- package/iac/node_modules/@jridgewell/sourcemap-codec/README.md +200 -0
- package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
- package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
- package/iac/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
- package/iac/node_modules/@jridgewell/trace-mapping/README.md +193 -0
- package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
- package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
- package/iac/node_modules/@tsconfig/node10/LICENSE +21 -0
- package/iac/node_modules/@tsconfig/node10/README.md +40 -0
- package/iac/node_modules/@tsconfig/node12/LICENSE +21 -0
- package/iac/node_modules/@tsconfig/node12/README.md +40 -0
- package/iac/node_modules/@tsconfig/node14/LICENSE +21 -0
- package/iac/node_modules/@tsconfig/node14/README.md +40 -0
- package/iac/node_modules/@tsconfig/node16/LICENSE +21 -0
- package/iac/node_modules/@tsconfig/node16/README.md +40 -0
- package/iac/node_modules/@types/jest/LICENSE +21 -0
- package/iac/node_modules/@types/jest/README.md +17 -0
- package/iac/node_modules/@types/node/LICENSE +21 -0
- package/iac/node_modules/@types/node/README.md +16 -0
- package/iac/node_modules/@types/prettier/LICENSE +21 -0
- package/iac/node_modules/@types/prettier/README.md +16 -0
- package/iac/node_modules/acorn/LICENSE +21 -0
- package/iac/node_modules/acorn/README.md +273 -0
- package/iac/node_modules/acorn-walk/LICENSE +21 -0
- package/iac/node_modules/acorn-walk/README.md +126 -0
- package/iac/node_modules/ansi-regex/license +9 -0
- package/iac/node_modules/ansi-regex/readme.md +78 -0
- package/iac/node_modules/ansi-styles/license +9 -0
- package/iac/node_modules/ansi-styles/readme.md +144 -0
- package/iac/node_modules/arg/LICENSE.md +21 -0
- package/iac/node_modules/arg/README.md +280 -0
- package/iac/node_modules/at-least-node/LICENSE +6 -0
- package/iac/node_modules/at-least-node/README.md +25 -0
- package/iac/node_modules/aws-cdk/LICENSE +201 -0
- package/iac/node_modules/aws-cdk/README.md +742 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/LICENSE +16 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/csharp/README.md +14 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/fsharp/README.md +18 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/go/README.md +12 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/java/README.md +18 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/javascript/README.md +12 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/python/README.template.md +58 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/typescript/README.md +14 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/lib/typescript/README.template.md +12 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/csharp/README.template.md +19 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/fsharp/README.template.md +20 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/go/README.md +12 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/java/README.template.md +19 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/javascript/README.template.md +13 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/python/README.template.md +65 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/typescript/README.template.md +15 -0
- package/iac/node_modules/aws-cdk/test/integ/cli/README.md +48 -0
- package/iac/node_modules/aws-cdk/test/integ/cli-regression-patches/README.md +54 -0
- package/iac/node_modules/aws-cdk-lib/LICENSE +201 -0
- package/iac/node_modules/aws-cdk-lib/README.md +1119 -0
- package/iac/node_modules/aws-cdk-lib/alexa-ask/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/assertions/README.md +571 -0
- package/iac/node_modules/aws-cdk-lib/assets/README.md +4 -0
- package/iac/node_modules/aws-cdk-lib/aws-accessanalyzer/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-acmpca/README.md +59 -0
- package/iac/node_modules/aws-cdk-lib/aws-amazonmq/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-amplify/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-amplifyuibuilder/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-apigateway/README.md +1335 -0
- package/iac/node_modules/aws-cdk-lib/aws-apigatewayv2/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-appconfig/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-appflow/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-appintegrations/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-applicationautoscaling/README.md +246 -0
- package/iac/node_modules/aws-cdk-lib/aws-applicationinsights/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-appmesh/README.md +883 -0
- package/iac/node_modules/aws-cdk-lib/aws-apprunner/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-appstream/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-appsync/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-aps/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-athena/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-auditmanager/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling/README.md +540 -0
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling-common/README.md +8 -0
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +18 -0
- package/iac/node_modules/aws-cdk-lib/aws-autoscalingplans/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-backup/README.md +210 -0
- package/iac/node_modules/aws-cdk-lib/aws-batch/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-billingconductor/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-budgets/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-cassandra/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-ce/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/README.md +166 -0
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler/README.md +2 -0
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/suffixes/README.txt +8 -0
- package/iac/node_modules/aws-cdk-lib/aws-chatbot/README.md +44 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloud9/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudformation/README.md +4 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudfront/README.md +973 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudfront-origins/README.md +126 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudtrail/README.md +189 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudwatch/README.md +579 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudwatch-actions/README.md +43 -0
- package/iac/node_modules/aws-cdk-lib/aws-codeartifact/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-codebuild/README.md +759 -0
- package/iac/node_modules/aws-cdk-lib/aws-codecommit/README.md +85 -0
- package/iac/node_modules/aws-cdk-lib/aws-codedeploy/README.md +319 -0
- package/iac/node_modules/aws-cdk-lib/aws-codeguruprofiler/README.md +37 -0
- package/iac/node_modules/aws-cdk-lib/aws-codegurureviewer/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-codepipeline/README.md +481 -0
- package/iac/node_modules/aws-cdk-lib/aws-codepipeline-actions/README.md +1203 -0
- package/iac/node_modules/aws-cdk-lib/aws-codestar/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-codestarconnections/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-codestarnotifications/README.md +68 -0
- package/iac/node_modules/aws-cdk-lib/aws-cognito/README.md +843 -0
- package/iac/node_modules/aws-cdk-lib/aws-config/README.md +218 -0
- package/iac/node_modules/aws-cdk-lib/aws-connect/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-controltower/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-cur/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-customerprofiles/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-databrew/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-datapipeline/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-datasync/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-dax/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-detective/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-devopsguru/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-directoryservice/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-dlm/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-dms/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-docdb/README.md +153 -0
- package/iac/node_modules/aws-cdk-lib/aws-dynamodb/README.md +200 -0
- package/iac/node_modules/aws-cdk-lib/aws-ec2/README.md +1514 -0
- package/iac/node_modules/aws-cdk-lib/aws-ecr/README.md +110 -0
- package/iac/node_modules/aws-cdk-lib/aws-ecr-assets/README.md +167 -0
- package/iac/node_modules/aws-cdk-lib/aws-ecs/README.md +1225 -0
- package/iac/node_modules/aws-cdk-lib/aws-ecs-patterns/README.md +980 -0
- package/iac/node_modules/aws-cdk-lib/aws-efs/README.md +154 -0
- package/iac/node_modules/aws-cdk-lib/aws-eks/README.md +1450 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticache/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticbeanstalk/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancing/README.md +40 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +569 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +68 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +4 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticsearch/README.md +441 -0
- package/iac/node_modules/aws-cdk-lib/aws-emr/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-emrcontainers/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-emrserverless/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-events/README.md +249 -0
- package/iac/node_modules/aws-cdk-lib/aws-events-targets/README.md +339 -0
- package/iac/node_modules/aws-cdk-lib/aws-eventschemas/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-evidently/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-finspace/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-fis/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-fms/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-forecast/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-frauddetector/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-fsx/README.md +200 -0
- package/iac/node_modules/aws-cdk-lib/aws-gamelift/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator/README.md +182 -0
- package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +10 -0
- package/iac/node_modules/aws-cdk-lib/aws-glue/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-greengrass/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-greengrassv2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-groundstation/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-guardduty/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-healthlake/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iam/README.md +509 -0
- package/iac/node_modules/aws-cdk-lib/aws-imagebuilder/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-inspector/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-inspectorv2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iot/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-iot1click/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotanalytics/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotcoredeviceadvisor/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotevents/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotfleethub/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotsitewise/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotthingsgraph/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iottwinmaker/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotwireless/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-ivs/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-kafkaconnect/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kendra/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesis/README.md +188 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesisanalytics/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesisanalyticsv2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesisfirehose/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesisvideo/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kms/README.md +209 -0
- package/iac/node_modules/aws-cdk-lib/aws-lakeformation/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-lambda/README.md +985 -0
- package/iac/node_modules/aws-cdk-lib/aws-lambda-destinations/README.md +147 -0
- package/iac/node_modules/aws-cdk-lib/aws-lambda-event-sources/README.md +281 -0
- package/iac/node_modules/aws-cdk-lib/aws-lambda-nodejs/README.md +317 -0
- package/iac/node_modules/aws-cdk-lib/aws-lex/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-licensemanager/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-lightsail/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-location/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-logs/README.md +322 -0
- package/iac/node_modules/aws-cdk-lib/aws-logs-destinations/README.md +7 -0
- package/iac/node_modules/aws-cdk-lib/aws-lookoutequipment/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-lookoutmetrics/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-lookoutvision/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-m2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-macie/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-managedblockchain/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediaconnect/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediaconvert/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-medialive/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediapackage/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediastore/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediatailor/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-memorydb/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-msk/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-mwaa/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-neptune/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-networkfirewall/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-networkmanager/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-nimblestudio/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-opensearchservice/README.md +378 -0
- package/iac/node_modules/aws-cdk-lib/aws-opsworks/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-opsworkscm/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-panorama/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-personalize/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-pinpoint/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-pinpointemail/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-qldb/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-quicksight/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-ram/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-rds/README.md +704 -0
- package/iac/node_modules/aws-cdk-lib/aws-redshift/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-redshiftserverless/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-refactorspaces/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-rekognition/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-resiliencehub/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-resourcegroups/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-robomaker/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53/README.md +281 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53-patterns/README.md +45 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53-targets/README.md +181 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53recoverycontrol/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53recoveryreadiness/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53resolver/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-rum/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3/README.md +581 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3-assets/README.md +179 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3-deployment/README.md +349 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3-notifications/README.md +46 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3objectlambda/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3outposts/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-sagemaker/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-sam/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-sdb/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-secretsmanager/README.md +285 -0
- package/iac/node_modules/aws-cdk-lib/aws-securityhub/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-servicecatalog/README.md +491 -0
- package/iac/node_modules/aws-cdk-lib/aws-servicecatalogappregistry/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-servicediscovery/README.md +45 -0
- package/iac/node_modules/aws-cdk-lib/aws-ses/README.md +194 -0
- package/iac/node_modules/aws-cdk-lib/aws-ses-actions/README.md +16 -0
- package/iac/node_modules/aws-cdk-lib/aws-signer/README.md +41 -0
- package/iac/node_modules/aws-cdk-lib/aws-sns/README.md +184 -0
- package/iac/node_modules/aws-cdk-lib/aws-sns-subscriptions/README.md +120 -0
- package/iac/node_modules/aws-cdk-lib/aws-sqs/README.md +57 -0
- package/iac/node_modules/aws-cdk-lib/aws-ssm/README.md +99 -0
- package/iac/node_modules/aws-cdk-lib/aws-ssmcontacts/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-ssmincidents/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-sso/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-stepfunctions/README.md +884 -0
- package/iac/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/README.md +1288 -0
- package/iac/node_modules/aws-cdk-lib/aws-supportapp/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-synthetics/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-timestream/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-transfer/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-voiceid/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-waf/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-wafregional/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-wafv2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-wisdom/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-workspaces/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-xray/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/README.md +55 -0
- package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/schema/README.md +5 -0
- package/iac/node_modules/aws-cdk-lib/cloudformation-include/README.md +466 -0
- package/iac/node_modules/aws-cdk-lib/core/README.md +1078 -0
- package/iac/node_modules/aws-cdk-lib/custom-resources/README.md +624 -0
- package/iac/node_modules/aws-cdk-lib/cx-api/README.md +98 -0
- package/iac/node_modules/aws-cdk-lib/lambda-layer-awscli/README.md +19 -0
- package/iac/node_modules/aws-cdk-lib/lambda-layer-kubectl/README.md +20 -0
- package/iac/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +18 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/LICENSE.md +206 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/README.md +261 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/LICENSE +6 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/README.md +25 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/LICENSE.md +21 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/README.md +97 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/LICENSE +21 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/README.md +129 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/case/LICENSE +22 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/case/README.md +139 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.min.js.map +1 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.plus.min.js.map +1 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/LICENSE +18 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/README.markdown +62 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/README.md +264 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/README.md +143 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/ignore/README.md +412 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/README.md +230 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/LICENSE +21 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/README.md +421 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/README.md +166 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/README.md +230 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/punycode/README.md +122 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/semver/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/semver/README.md +568 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/universalify/LICENSE +20 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/universalify/README.md +76 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/yallist/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/yallist/README.md +204 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/yaml/LICENSE +13 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/yaml/README.md +127 -0
- package/iac/node_modules/aws-cdk-lib/pipelines/README.md +1573 -0
- package/iac/node_modules/aws-cdk-lib/region-info/README.md +84 -0
- package/iac/node_modules/aws-cdk-lib/triggers/README.md +86 -0
- package/iac/node_modules/balanced-match/LICENSE.md +21 -0
- package/iac/node_modules/balanced-match/README.md +97 -0
- package/iac/node_modules/brace-expansion/LICENSE +21 -0
- package/iac/node_modules/brace-expansion/README.md +129 -0
- package/iac/node_modules/buffer-from/LICENSE +21 -0
- package/iac/node_modules/buffer-from/readme.md +69 -0
- package/iac/node_modules/case/LICENSE +22 -0
- package/iac/node_modules/case/README.md +139 -0
- package/iac/node_modules/case/dist/Case.min.js.map +1 -0
- package/iac/node_modules/case/dist/Case.plus.min.js.map +1 -0
- package/iac/node_modules/chalk/license +9 -0
- package/iac/node_modules/chalk/node_modules/ansi-styles/license +9 -0
- package/iac/node_modules/chalk/node_modules/ansi-styles/readme.md +152 -0
- package/iac/node_modules/chalk/readme.md +341 -0
- package/iac/node_modules/color-convert/LICENSE +21 -0
- package/iac/node_modules/color-convert/README.md +68 -0
- package/iac/node_modules/color-name/LICENSE +8 -0
- package/iac/node_modules/color-name/README.md +11 -0
- package/iac/node_modules/concat-map/LICENSE +18 -0
- package/iac/node_modules/concat-map/README.markdown +62 -0
- package/iac/node_modules/constructs/LICENSE +202 -0
- package/iac/node_modules/constructs/README.md +28 -0
- package/iac/node_modules/create-require/LICENSE +25 -0
- package/iac/node_modules/create-require/README.md +46 -0
- package/iac/node_modules/diff/LICENSE +31 -0
- package/iac/node_modules/diff/README.md +207 -0
- package/iac/node_modules/diff-sequences/LICENSE +21 -0
- package/iac/node_modules/diff-sequences/README.md +404 -0
- package/iac/node_modules/fs-extra/LICENSE +15 -0
- package/iac/node_modules/fs-extra/README.md +264 -0
- package/iac/node_modules/fsevents/LICENSE +22 -0
- package/iac/node_modules/fsevents/README.md +83 -0
- package/iac/node_modules/graceful-fs/LICENSE +15 -0
- package/iac/node_modules/graceful-fs/README.md +143 -0
- package/iac/node_modules/has-flag/license +9 -0
- package/iac/node_modules/has-flag/readme.md +89 -0
- package/iac/node_modules/ignore/README.md +412 -0
- package/iac/node_modules/jest-diff/LICENSE +21 -0
- package/iac/node_modules/jest-diff/README.md +671 -0
- package/iac/node_modules/jest-get-type/LICENSE +21 -0
- package/iac/node_modules/jest-matcher-utils/LICENSE +21 -0
- package/iac/node_modules/jest-matcher-utils/README.md +24 -0
- package/iac/node_modules/jsonfile/LICENSE +15 -0
- package/iac/node_modules/jsonfile/README.md +230 -0
- package/iac/node_modules/jsonschema/LICENSE +21 -0
- package/iac/node_modules/jsonschema/README.md +421 -0
- package/iac/node_modules/lru-cache/LICENSE +15 -0
- package/iac/node_modules/lru-cache/README.md +166 -0
- package/iac/node_modules/make-error/LICENSE +5 -0
- package/iac/node_modules/make-error/README.md +112 -0
- package/iac/node_modules/minimatch/LICENSE +15 -0
- package/iac/node_modules/minimatch/README.md +230 -0
- package/iac/node_modules/pretty-format/LICENSE +21 -0
- package/iac/node_modules/pretty-format/README.md +458 -0
- package/iac/node_modules/punycode/README.md +122 -0
- package/iac/node_modules/react-is/LICENSE +21 -0
- package/iac/node_modules/react-is/README.md +104 -0
- package/iac/node_modules/semver/LICENSE +15 -0
- package/iac/node_modules/semver/README.md +568 -0
- package/iac/node_modules/source-map/LICENSE +28 -0
- package/iac/node_modules/source-map/README.md +742 -0
- package/iac/node_modules/source-map/dist/source-map.min.js.map +1 -0
- package/iac/node_modules/source-map-support/LICENSE.md +21 -0
- package/iac/node_modules/source-map-support/README.md +284 -0
- package/iac/node_modules/supports-color/license +9 -0
- package/iac/node_modules/supports-color/readme.md +76 -0
- package/iac/node_modules/ts-node/LICENSE +21 -0
- package/iac/node_modules/ts-node/README.md +1442 -0
- package/iac/node_modules/ts-node/dist/bin-cwd.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin-esm.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin-script-deprecated.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin-script.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin-transpile.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/argv-payload.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/child-entrypoint.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/child-loader.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/child-require.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/spawn-child.js.map +1 -0
- package/iac/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +1 -0
- package/iac/node_modules/ts-node/dist/configuration.js.map +1 -0
- package/iac/node_modules/ts-node/dist/esm.js.map +1 -0
- package/iac/node_modules/ts-node/dist/file-extensions.js.map +1 -0
- package/iac/node_modules/ts-node/dist/index.js.map +1 -0
- package/iac/node_modules/ts-node/dist/module-type-classifier.js.map +1 -0
- package/iac/node_modules/ts-node/dist/node-module-type-classifier.js.map +1 -0
- package/iac/node_modules/ts-node/dist/repl.js.map +1 -0
- package/iac/node_modules/ts-node/dist/resolver-functions.js.map +1 -0
- package/iac/node_modules/ts-node/dist/transpilers/swc.js.map +1 -0
- package/iac/node_modules/ts-node/dist/transpilers/types.js.map +1 -0
- package/iac/node_modules/ts-node/dist/ts-compiler-types.js.map +1 -0
- package/iac/node_modules/ts-node/dist/ts-internals.js.map +1 -0
- package/iac/node_modules/ts-node/dist/ts-transpile-module.js.map +1 -0
- package/iac/node_modules/ts-node/dist/tsconfig-schema.js.map +1 -0
- package/iac/node_modules/ts-node/dist/tsconfigs.js.map +1 -0
- package/iac/node_modules/ts-node/dist/util.js.map +1 -0
- package/iac/node_modules/ts-node/dist-raw/README.md +36 -0
- package/iac/node_modules/typescript/LICENSE.txt +55 -0
- package/iac/node_modules/typescript/README.md +104 -0
- package/iac/node_modules/typescript/lib/README.md +5 -0
- package/iac/node_modules/universalify/LICENSE +20 -0
- package/iac/node_modules/universalify/README.md +76 -0
- package/iac/node_modules/v8-compile-cache-lib/LICENSE +21 -0
- package/iac/node_modules/v8-compile-cache-lib/README.md +60 -0
- package/iac/node_modules/yallist/LICENSE +15 -0
- package/iac/node_modules/yallist/README.md +204 -0
- package/iac/node_modules/yaml/LICENSE +13 -0
- package/iac/node_modules/yaml/README.md +127 -0
- package/iac/node_modules/yn/license +9 -0
- package/iac/node_modules/yn/readme.md +83 -0
- package/index.d.ts +1 -0
- package/index.js +18 -0
- package/index.js.map +1 -0
- package/package.json +26 -5
- package/react/Edit.d.ts +3 -0
- package/react/Edit.js +10 -0
- package/react/Edit.js.map +1 -0
- package/react/index.d.ts +1 -0
- package/react/index.js +18 -0
- package/react/index.js.map +1 -0
- package/src/material-symbols.d.ts +4 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# yallist
|
|
2
|
+
|
|
3
|
+
Yet Another Linked List
|
|
4
|
+
|
|
5
|
+
There are many doubly-linked list implementations like it, but this
|
|
6
|
+
one is mine.
|
|
7
|
+
|
|
8
|
+
For when an array would be too big, and a Map can't be iterated in
|
|
9
|
+
reverse order.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
[](https://travis-ci.org/isaacs/yallist) [](https://coveralls.io/github/isaacs/yallist)
|
|
13
|
+
|
|
14
|
+
## basic usage
|
|
15
|
+
|
|
16
|
+
```javascript
|
|
17
|
+
var yallist = require('yallist')
|
|
18
|
+
var myList = yallist.create([1, 2, 3])
|
|
19
|
+
myList.push('foo')
|
|
20
|
+
myList.unshift('bar')
|
|
21
|
+
// of course pop() and shift() are there, too
|
|
22
|
+
console.log(myList.toArray()) // ['bar', 1, 2, 3, 'foo']
|
|
23
|
+
myList.forEach(function (k) {
|
|
24
|
+
// walk the list head to tail
|
|
25
|
+
})
|
|
26
|
+
myList.forEachReverse(function (k, index, list) {
|
|
27
|
+
// walk the list tail to head
|
|
28
|
+
})
|
|
29
|
+
var myDoubledList = myList.map(function (k) {
|
|
30
|
+
return k + k
|
|
31
|
+
})
|
|
32
|
+
// now myDoubledList contains ['barbar', 2, 4, 6, 'foofoo']
|
|
33
|
+
// mapReverse is also a thing
|
|
34
|
+
var myDoubledListReverse = myList.mapReverse(function (k) {
|
|
35
|
+
return k + k
|
|
36
|
+
}) // ['foofoo', 6, 4, 2, 'barbar']
|
|
37
|
+
|
|
38
|
+
var reduced = myList.reduce(function (set, entry) {
|
|
39
|
+
set += entry
|
|
40
|
+
return set
|
|
41
|
+
}, 'start')
|
|
42
|
+
console.log(reduced) // 'startfoo123bar'
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## api
|
|
46
|
+
|
|
47
|
+
The whole API is considered "public".
|
|
48
|
+
|
|
49
|
+
Functions with the same name as an Array method work more or less the
|
|
50
|
+
same way.
|
|
51
|
+
|
|
52
|
+
There's reverse versions of most things because that's the point.
|
|
53
|
+
|
|
54
|
+
### Yallist
|
|
55
|
+
|
|
56
|
+
Default export, the class that holds and manages a list.
|
|
57
|
+
|
|
58
|
+
Call it with either a forEach-able (like an array) or a set of
|
|
59
|
+
arguments, to initialize the list.
|
|
60
|
+
|
|
61
|
+
The Array-ish methods all act like you'd expect. No magic length,
|
|
62
|
+
though, so if you change that it won't automatically prune or add
|
|
63
|
+
empty spots.
|
|
64
|
+
|
|
65
|
+
### Yallist.create(..)
|
|
66
|
+
|
|
67
|
+
Alias for Yallist function. Some people like factories.
|
|
68
|
+
|
|
69
|
+
#### yallist.head
|
|
70
|
+
|
|
71
|
+
The first node in the list
|
|
72
|
+
|
|
73
|
+
#### yallist.tail
|
|
74
|
+
|
|
75
|
+
The last node in the list
|
|
76
|
+
|
|
77
|
+
#### yallist.length
|
|
78
|
+
|
|
79
|
+
The number of nodes in the list. (Change this at your peril. It is
|
|
80
|
+
not magic like Array length.)
|
|
81
|
+
|
|
82
|
+
#### yallist.toArray()
|
|
83
|
+
|
|
84
|
+
Convert the list to an array.
|
|
85
|
+
|
|
86
|
+
#### yallist.forEach(fn, [thisp])
|
|
87
|
+
|
|
88
|
+
Call a function on each item in the list.
|
|
89
|
+
|
|
90
|
+
#### yallist.forEachReverse(fn, [thisp])
|
|
91
|
+
|
|
92
|
+
Call a function on each item in the list, in reverse order.
|
|
93
|
+
|
|
94
|
+
#### yallist.get(n)
|
|
95
|
+
|
|
96
|
+
Get the data at position `n` in the list. If you use this a lot,
|
|
97
|
+
probably better off just using an Array.
|
|
98
|
+
|
|
99
|
+
#### yallist.getReverse(n)
|
|
100
|
+
|
|
101
|
+
Get the data at position `n`, counting from the tail.
|
|
102
|
+
|
|
103
|
+
#### yallist.map(fn, thisp)
|
|
104
|
+
|
|
105
|
+
Create a new Yallist with the result of calling the function on each
|
|
106
|
+
item.
|
|
107
|
+
|
|
108
|
+
#### yallist.mapReverse(fn, thisp)
|
|
109
|
+
|
|
110
|
+
Same as `map`, but in reverse.
|
|
111
|
+
|
|
112
|
+
#### yallist.pop()
|
|
113
|
+
|
|
114
|
+
Get the data from the list tail, and remove the tail from the list.
|
|
115
|
+
|
|
116
|
+
#### yallist.push(item, ...)
|
|
117
|
+
|
|
118
|
+
Insert one or more items to the tail of the list.
|
|
119
|
+
|
|
120
|
+
#### yallist.reduce(fn, initialValue)
|
|
121
|
+
|
|
122
|
+
Like Array.reduce.
|
|
123
|
+
|
|
124
|
+
#### yallist.reduceReverse
|
|
125
|
+
|
|
126
|
+
Like Array.reduce, but in reverse.
|
|
127
|
+
|
|
128
|
+
#### yallist.reverse
|
|
129
|
+
|
|
130
|
+
Reverse the list in place.
|
|
131
|
+
|
|
132
|
+
#### yallist.shift()
|
|
133
|
+
|
|
134
|
+
Get the data from the list head, and remove the head from the list.
|
|
135
|
+
|
|
136
|
+
#### yallist.slice([from], [to])
|
|
137
|
+
|
|
138
|
+
Just like Array.slice, but returns a new Yallist.
|
|
139
|
+
|
|
140
|
+
#### yallist.sliceReverse([from], [to])
|
|
141
|
+
|
|
142
|
+
Just like yallist.slice, but the result is returned in reverse.
|
|
143
|
+
|
|
144
|
+
#### yallist.toArray()
|
|
145
|
+
|
|
146
|
+
Create an array representation of the list.
|
|
147
|
+
|
|
148
|
+
#### yallist.toArrayReverse()
|
|
149
|
+
|
|
150
|
+
Create a reversed array representation of the list.
|
|
151
|
+
|
|
152
|
+
#### yallist.unshift(item, ...)
|
|
153
|
+
|
|
154
|
+
Insert one or more items to the head of the list.
|
|
155
|
+
|
|
156
|
+
#### yallist.unshiftNode(node)
|
|
157
|
+
|
|
158
|
+
Move a Node object to the front of the list. (That is, pull it out of
|
|
159
|
+
wherever it lives, and make it the new head.)
|
|
160
|
+
|
|
161
|
+
If the node belongs to a different list, then that list will remove it
|
|
162
|
+
first.
|
|
163
|
+
|
|
164
|
+
#### yallist.pushNode(node)
|
|
165
|
+
|
|
166
|
+
Move a Node object to the end of the list. (That is, pull it out of
|
|
167
|
+
wherever it lives, and make it the new tail.)
|
|
168
|
+
|
|
169
|
+
If the node belongs to a list already, then that list will remove it
|
|
170
|
+
first.
|
|
171
|
+
|
|
172
|
+
#### yallist.removeNode(node)
|
|
173
|
+
|
|
174
|
+
Remove a node from the list, preserving referential integrity of head
|
|
175
|
+
and tail and other nodes.
|
|
176
|
+
|
|
177
|
+
Will throw an error if you try to have a list remove a node that
|
|
178
|
+
doesn't belong to it.
|
|
179
|
+
|
|
180
|
+
### Yallist.Node
|
|
181
|
+
|
|
182
|
+
The class that holds the data and is actually the list.
|
|
183
|
+
|
|
184
|
+
Call with `var n = new Node(value, previousNode, nextNode)`
|
|
185
|
+
|
|
186
|
+
Note that if you do direct operations on Nodes themselves, it's very
|
|
187
|
+
easy to get into weird states where the list is broken. Be careful :)
|
|
188
|
+
|
|
189
|
+
#### node.next
|
|
190
|
+
|
|
191
|
+
The next node in the list.
|
|
192
|
+
|
|
193
|
+
#### node.prev
|
|
194
|
+
|
|
195
|
+
The previous node in the list.
|
|
196
|
+
|
|
197
|
+
#### node.value
|
|
198
|
+
|
|
199
|
+
The data the node contains.
|
|
200
|
+
|
|
201
|
+
#### node.list
|
|
202
|
+
|
|
203
|
+
The list to which this node belongs. (Null if it does not belong to
|
|
204
|
+
any list.)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2018 Eemeli Aro <eemeli@gmail.com>
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
4
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
5
|
+
and this permission notice appear in all copies.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
11
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
12
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
13
|
+
THIS SOFTWARE.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# YAML <a href="https://www.npmjs.com/package/yaml"><img align="right" src="https://badge.fury.io/js/yaml.svg" title="npm package" /></a>
|
|
2
|
+
|
|
3
|
+
`yaml` is a JavaScript parser and stringifier for [YAML](http://yaml.org/), a human friendly data serialization standard. It supports both parsing and stringifying data using all versions of YAML, along with all common data schemas. As a particularly distinguishing feature, `yaml` fully supports reading and writing comments and blank lines in YAML documents.
|
|
4
|
+
|
|
5
|
+
The library is released under the ISC open source license, and the code is [available on GitHub](https://github.com/eemeli/yaml/). It has no external dependencies and runs on Node.js 6 and later, and in browsers from IE 11 upwards.
|
|
6
|
+
|
|
7
|
+
For the purposes of versioning, any changes that break any of the endpoints or APIs documented here will be considered semver-major breaking changes. Undocumented library internals may change between minor versions, and previous APIs may be deprecated (but not removed).
|
|
8
|
+
|
|
9
|
+
For more information, see the project's documentation site: [**eemeli.org/yaml/v1**](https://eemeli.org/yaml/v1/)
|
|
10
|
+
|
|
11
|
+
To install:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install yaml
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Note:** This is `yaml@1`. You may also be interested in the next version, currently available as [`yaml@next`](https://www.npmjs.com/package/yaml/v/next).
|
|
18
|
+
|
|
19
|
+
## API Overview
|
|
20
|
+
|
|
21
|
+
The API provided by `yaml` has three layers, depending on how deep you need to go: [Parse & Stringify](https://eemeli.org/yaml/v1/#parse-amp-stringify), [Documents](https://eemeli.org/yaml/#documents), and the [CST Parser](https://eemeli.org/yaml/#cst-parser). The first has the simplest API and "just works", the second gets you all the bells and whistles supported by the library along with a decent [AST](https://eemeli.org/yaml/#content-nodes), and the third is the closest to YAML source, making it fast, raw, and crude.
|
|
22
|
+
|
|
23
|
+
```js
|
|
24
|
+
import YAML from 'yaml'
|
|
25
|
+
// or
|
|
26
|
+
const YAML = require('yaml')
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Parse & Stringify
|
|
30
|
+
|
|
31
|
+
- [`YAML.parse(str, options): value`](https://eemeli.org/yaml/v1/#yaml-parse)
|
|
32
|
+
- [`YAML.stringify(value, options): string`](https://eemeli.org/yaml/v1/#yaml-stringify)
|
|
33
|
+
|
|
34
|
+
### YAML Documents
|
|
35
|
+
|
|
36
|
+
- [`YAML.createNode(value, wrapScalars, tag): Node`](https://eemeli.org/yaml/v1/#creating-nodes)
|
|
37
|
+
- [`YAML.defaultOptions`](https://eemeli.org/yaml/v1/#options)
|
|
38
|
+
- [`YAML.Document`](https://eemeli.org/yaml/v1/#yaml-documents)
|
|
39
|
+
- [`constructor(options)`](https://eemeli.org/yaml/v1/#creating-documents)
|
|
40
|
+
- [`defaults`](https://eemeli.org/yaml/v1/#options)
|
|
41
|
+
- [`#anchors`](https://eemeli.org/yaml/v1/#working-with-anchors)
|
|
42
|
+
- [`#contents`](https://eemeli.org/yaml/v1/#content-nodes)
|
|
43
|
+
- [`#errors`](https://eemeli.org/yaml/v1/#errors)
|
|
44
|
+
- [`YAML.parseAllDocuments(str, options): YAML.Document[]`](https://eemeli.org/yaml/v1/#parsing-documents)
|
|
45
|
+
- [`YAML.parseDocument(str, options): YAML.Document`](https://eemeli.org/yaml/v1/#parsing-documents)
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
import { Pair, YAMLMap, YAMLSeq } from 'yaml/types'
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
- [`new Pair(key, value)`](https://eemeli.org/yaml/v1/#creating-nodes)
|
|
52
|
+
- [`new YAMLMap()`](https://eemeli.org/yaml/v1/#creating-nodes)
|
|
53
|
+
- [`new YAMLSeq()`](https://eemeli.org/yaml/v1/#creating-nodes)
|
|
54
|
+
|
|
55
|
+
### CST Parser
|
|
56
|
+
|
|
57
|
+
```js
|
|
58
|
+
import parseCST from 'yaml/parse-cst'
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
- [`parseCST(str): CSTDocument[]`](https://eemeli.org/yaml/v1/#parsecst)
|
|
62
|
+
- [`YAML.parseCST(str): CSTDocument[]`](https://eemeli.org/yaml/v1/#parsecst)
|
|
63
|
+
|
|
64
|
+
## YAML.parse
|
|
65
|
+
|
|
66
|
+
```yaml
|
|
67
|
+
# file.yml
|
|
68
|
+
YAML:
|
|
69
|
+
- A human-readable data serialization language
|
|
70
|
+
- https://en.wikipedia.org/wiki/YAML
|
|
71
|
+
yaml:
|
|
72
|
+
- A complete JavaScript implementation
|
|
73
|
+
- https://www.npmjs.com/package/yaml
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
```js
|
|
77
|
+
import fs from 'fs'
|
|
78
|
+
import YAML from 'yaml'
|
|
79
|
+
|
|
80
|
+
YAML.parse('3.14159')
|
|
81
|
+
// 3.14159
|
|
82
|
+
|
|
83
|
+
YAML.parse('[ true, false, maybe, null ]\n')
|
|
84
|
+
// [ true, false, 'maybe', null ]
|
|
85
|
+
|
|
86
|
+
const file = fs.readFileSync('./file.yml', 'utf8')
|
|
87
|
+
YAML.parse(file)
|
|
88
|
+
// { YAML:
|
|
89
|
+
// [ 'A human-readable data serialization language',
|
|
90
|
+
// 'https://en.wikipedia.org/wiki/YAML' ],
|
|
91
|
+
// yaml:
|
|
92
|
+
// [ 'A complete JavaScript implementation',
|
|
93
|
+
// 'https://www.npmjs.com/package/yaml' ] }
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## YAML.stringify
|
|
97
|
+
|
|
98
|
+
```js
|
|
99
|
+
import YAML from 'yaml'
|
|
100
|
+
|
|
101
|
+
YAML.stringify(3.14159)
|
|
102
|
+
// '3.14159\n'
|
|
103
|
+
|
|
104
|
+
YAML.stringify([true, false, 'maybe', null])
|
|
105
|
+
// `- true
|
|
106
|
+
// - false
|
|
107
|
+
// - maybe
|
|
108
|
+
// - null
|
|
109
|
+
// `
|
|
110
|
+
|
|
111
|
+
YAML.stringify({ number: 3, plain: 'string', block: 'two\nlines\n' })
|
|
112
|
+
// `number: 3
|
|
113
|
+
// plain: string
|
|
114
|
+
// block: >
|
|
115
|
+
// two
|
|
116
|
+
//
|
|
117
|
+
// lines
|
|
118
|
+
// `
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
Browser testing provided by:
|
|
124
|
+
|
|
125
|
+
<a href="https://www.browserstack.com/open-source">
|
|
126
|
+
<img width=200 src="https://eemeli.org/yaml/images/browserstack.svg" />
|
|
127
|
+
</a>
|