Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@coveo/atomic
Advanced tools
A web-component library for building modern UIs interfacing with the Coveo platform
A web-component library for building modern UIs interfacing with the Coveo platform. Atomic web-components are built with Stencil. They are self-encapsulated, composable, and light-weight.
Once you have cloned the repo, follow the instructions in the top-level README.md to install dependencies and link packages.
To start the project in development mode, run:
npm start
To build the library for production, run:
npm run build
To run the unit tests for the components, run:
npm test
<script src='https://unpkg.com/my-component@0.0.1/dist/mycomponent.js'></script>
in the head of your index.htmlatomic-search-interface
component, you have to add a script tag calling initialize(...)
on it once the custom element is defined:<script>
(async () => {
await customElements.whenDefined('atomic-search-interface');
document.querySelector('atomic-search-interface').initialize({
accessToken: 'my_token',
organizationId: 'my_org',
});
})();
</script>
atomic-search-interface
to work properly.sample
attribute on the atomic-search-interface
element is sufficient and will bypass initialization.npm install @coveo/atomic --save
<script src='node_modules/@coveo/atomic/dist/mycomponent.js'></script>
in the head of your index.htmlnpm install @coveo/atomic --save
import '@coveo/atomic';
To open cypress, run:
npm run cypressopen
To run all the test, run:
npm run cypresstest
FAQs
A web-component library for building modern UIs interfacing with the Coveo platform
The npm package @coveo/atomic receives a total of 5,630 weekly downloads. As such, @coveo/atomic popularity was classified as popular.
We found that @coveo/atomic demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.