
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@nativescript/auto-fit-text
Advanced tools
NativeScript plugin for a label that resizes on a single line to fit the screen.
ns plugin add @nativescript/auto-fit-text
This plugin is based on the Nativescript Label implementation but with changes to adjust the font size according of the label's width
<Page
xmlns="http://schemas.nativescript.org/tns.xsd"
loaded="pageLoaded"
class="page"
xmlns:AFT="@nativescript/auto-fit-text"
>
<StackLayout class="p-20">
<AFT:AutoFitText
text="Testinggggggggggggggggg"
textWrap="false"
></AFT:AutoFitText>
</StackLayout>
</Page>
import { NativeScriptAutoFitTextModule } from '@nativescript/auto-fit-text/angular';
// Be sure to add the plugin module to your NgModule
@NgModule({
imports: [NativeScriptAutoFitTextModule],
})
<AutoFitText row="2" fontSize="48" text="Lorem Ipsum this line of text with fontSize ignored because the text is so long." textWrap="false"></AutoFitText>
@grantland - android-autofittextview
Apache License Version 2.0, January 2004
FAQs
NativeScript plugin for a label that resizes on a single line to fit the screen.
The npm package @nativescript/auto-fit-text receives a total of 20 weekly downloads. As such, @nativescript/auto-fit-text popularity was classified as not popular.
We found that @nativescript/auto-fit-text demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.