
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Documentation helper Angular components for writing documentations and articles. See this library in action here.
Add the package to your angular project using
npm install ng-docu
# or
yarn add ng-docu
# or
ng add ng-docu
Since math requires katex for rendering proper LaTeX expressions, one need to include the katex styles in the angular.json file manually.
"projects": {
"projectID": {
"architect": {
"build": {
"options": {
"styles": [
"./node_modules/katex/dist/katex.min.css"
replace projectID
with your projects name.
There are two modules to use. The DocuModule
and the DocuEditorModule
. The
DocuModule
has got predefined components for displaying the documentation generated
using the DocuEditorModule
.
At first import one of these modules in your application module.
@NgModule({
imports: [ DocuModule, DocuEditorModule ]
})
export class ApplicationModule{}
Make sure to have the DocuEditorModule
imported. The module provides a complete form with live rendering. It should integrate with your @angular/material configuration.
In the template simply use the editor tag to create a complete form for the article.
<docu-editor></docu-editor>
@Output() save($event)
: When the user saves the form, the save event will emit and contain the complete nested form.@Input() documentation: Documentation
: The user can patch the form with a previously created documentation.The document can be displayed using
<docu-article></docu-article>
which just has a @Input() documentation: Documentation
interface.
FAQs
Angular helpers for easily writing interactive articles
We found that ng-docu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.