
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@aristech-org/nlp-client
Advanced tools
This is the NodeJS client implementation for the Aristech NLP-Server.
npm install @aristech-org/nlp-client
import { NlpClient } from '@aristech-org/nlp-client'
const client = new NlpClient({ host: 'nlp.example.com' })
const response = await client.runFunctions({
input: 'hello world',
functions: [{ id: 'spellcheck-de' }]
})
console.log(response)
There are several examples in the examples
directory:
You can run the examples directly using tsx
like this:
.env
file in the node directory:HOST=nlp.example.com
# The credentials are optional but probably required for most servers:
TOKEN=your-token
SECRET=your-secret
# The following are optional:
# ROOT_CERT=your-root-cert.pem # If the server uses a self-signed certificate
# SSL=true # Set to true if credentials are provided or if a ROOT_CERT is provided
# PROJECT_ID=your-project-id # Required for some examples
npx tsx examples/functions.ts
To rebuild the generated typescript files from the proto file, run:
npm run generate
To build the library, run:
npm run build
FAQs
A Node.js client library for the Aristech NLP Service
We found that @aristech-org/nlp-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.