Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
cliengo-sdk
Advanced tools
We offer a powerful Javascript API that gives you flexibility and config, control and track over the behavior of the Cliengo Platform. You can decide, how, when and where to display the chat box on your site, as well as view and update visitor information
Weekly downloads
Readme
# cliengo-sdk
We offer a powerful Javascript API that gives you flexibility and config, control and track over the behavior of the Cliengo Platform. You can decide, how, when and where to display the chat box on your site, as well as view and update visitor information. You can also track informations and events in web platforms out of the box, including Google Analytics, Google Adwords, Facebook Ads and Google Tag Manager.
To understand the development process of the cliengo-sdk library you have to manage 2 aspects: Testing and Building. Testing is done with Mocha as the test framework to define how tests are to be done. Mocha can be used with human-readable sintaxis by adding Chai, and can mock code components with Sinon.
Cliengo SDK was built using generator-javascript-library.
npm run test
or npm tests
or npm t
npm run test:with-coverage
. Html coverage reports will be in the "coverage/lcov-report/" folder.npm run test:check-coverage
npm run build:lib
npm run build:umd
or minified with npm run build:umd.min
npm run build
npm run build
which does the same as npm run build:lib
.npm run build:umd
npm run start
npm run clean:coverage
npm run clean:build
npm run clean
You can commit like you normally would, but you'll have to follow the angular conventional commit format. To help you do this you can use commitizen (see usage section).
Before each commit is taken into account, the tests wil be run and the coverage will be checked. If this fails, you can commit with the same message by running git cz --retry
.
The commit message is also validated to ensure you respect the format. This is important so that the semantic-release module works properly.
For every change in source code:
git add .
npm run commit
Alternatively, you can commit using commitizen installed globally with npm i -g commitizen
and git cz
. Choose the 'feat' commit type for the creation of your library! Then git push origin master
to take your code into GitHub.
To publish new versions in npm you have to be logged in with your npm account and be part of the Cliengo organization
npm run build
npm version <option>
npm publish
Where <option>
can be major
, minor
or patch
that modify major.minor.patch (Ex: 0.17.2). See npm version --help
for more information.
FAQs
We offer a powerful Javascript API that gives you flexibility and config, control and track over the behavior of the Cliengo Platform. You can decide, how, when and where to display the chat box on your site, as well as view and update visitor information
The npm package cliengo-sdk receives a total of 2 weekly downloads. As such, cliengo-sdk popularity was classified as not popular.
We found that cliengo-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.