πŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more β†’
Socket
DemoInstallSign in
Socket

carbonldp

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carbonldp

JavaScript/TypeScript SDK for Carbon LDP

5.2.0
latest
Source
npm
Version published
Weekly downloads
2
Maintainers
3
Weekly downloads
Β 
Created
Source

CarbonLDP JavaScript SDK

npm version Downloads Join the chat at https://gitter.im/CarbonLDP/CarbonLDP-JS-SDK codecov

Build status

Official JavaScript SDK for Carbon LDP applications. Simplifies the use of Carbon LDP's REST API.

For information on how to use the SDK, please refer to the JavaScript SDK user guide on the Carbon LDP website.

Installing

npm install carbonldp

Development setup

  • Install dependencies
  • cd into the project's root directory
  • Run npm install
  • Build the source code by running npm start

Main gulp tasks

  • build: Same as npm start. Build the source code and prepare it for production (inside the dist/ folder)
  • lint: Same as npm lint. Run TSLint over the source code to perform static code analysis.
  • test: Same as npm test. Run the test in both Node.js and Google Chrome.

File structure

β”œβ”€β”€ .circleci                           # CircleCI's configuration files (automated build and deploy system)
β”œβ”€β”€ .idea                               # WebStorm shared configuration files (like code style)
β”œβ”€β”€ build                               # Build related scripts
β”‚   β”œβ”€β”€ license.js                      # Contains the license to append to the build
β”‚   β”œβ”€β”€ sfx.ts                          # Main file that feeds the SFX building process
β”‚   └── docs                            # Templates for build the different types of API documentation
β”‚       β”œβ”€β”€ html                        # Templates for html documentation (used for github pages)
β”‚       └── markdown                    # Templates for markdown documentation
β”œβ”€β”€ config                              # Configuration files used while bundling the application
β”‚   β”œβ”€β”€ karma.conf.js                   # Actual Karma test runner configuration file
β”‚   β”œβ”€β”€ webpack.common.js               # Webpack's settings used by every mode
β”‚   β”œβ”€β”€ webpack.prod.js                 # Webpack bundling settings for PRODUCTION mode
β”‚   └── webpack.test.js                 # Webpack bundling settings for TESTING mode
β”œβ”€β”€ dist                                # Distribution related files
β”‚   └── bundles                         # Contains the bundled versions of the entire SDK
β”œβ”€β”€ docs                                # JS SDK's API docucmentation files
β”œβ”€β”€ node_modules                        # npm dependencies (don't touch them)
β”œβ”€β”€ playground                          # Informal testing ground (TODO: Clean directory)
β”œβ”€β”€ src                                 # All source files
β”œβ”€β”€ test                                # Test framework related files (not the real tests)
β”œβ”€β”€ .gitignore                          # Ignore file for git
β”œβ”€β”€ .nvmrc                              # nvm configuration file that specifies supported Node.js version (for development)
β”œβ”€β”€ CHANGELOG.md                        # File to track package changes
β”œβ”€β”€ gulpfile.ts                         # Gulp's configuration file
β”œβ”€β”€ karma.conf.js                       # Karma configuration file used for the Browser tests
β”œβ”€β”€ LICENSE                             # Self explanatory
β”œβ”€β”€ package.json                        # npm's configuration file
β”œβ”€β”€ package-lock.json                   # npm's with the exact desired dependency tree
β”œβ”€β”€ README.md                           # this
β”œβ”€β”€ tsconfig.json                       # Typescript compiler configuration file
β”œβ”€β”€ tslint.json                         # TSLint configuration file
└── webpack.config.js                   # Webpack configuration used to bundle the SDK

License

Copyright (c) 2015-present, Base22 Technology Group, LLC
All rights reserved.

This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.

FAQs

Package last updated on 10 Apr 2019

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