
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@nebula.js/sn-text
Advanced tools
Display text, links, and measures. Add tables with rows and columns. Format and color the text. Add background image and color.
A text chart supernova aimed to be used in nebula.js.
import { embed } from '@nebula.js/stardust';
import text from '@nebula.js/sn-text';
// 'app' is an enigma app model
const embeddable = embed(app, {
types: [{ // register the text chart
name: 'text',
load: () => Promise.resolve(text);
}]
});
embeddable.render({
element,
type: 'text',
properties: {
text: "{\"root\":{\"children\":[{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"This is some text\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"paragraph\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"root\",\"version\":1}}"
}
});
Requires @nebula.js/stardust version >=5.0.0.
If you use npm: pnpm install @nebula.js/sn-text. You can also load through the script tag directly from any of the CDNs that supports NPM packages, for example: unpkg.
To trigger a release, manually run the build workflow on a release branch and set release to true. For more info on actions / github workflows see: https://github.com/qlik-oss/sn-gh-workflows/
FAQs
Display text, links, and measures. Add tables with rows and columns. Format and color the text. Add background image and color.
The npm package @nebula.js/sn-text receives a total of 559 weekly downloads. As such, @nebula.js/sn-text popularity was classified as not popular.
We found that @nebula.js/sn-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.