a Developer.
- 🎨 Blog https://www.rustc.cloud/
- 🏗 Focus on
- AI Developer, RAG, LLMs
- Python(AI/Security/Quant), Node.js
- React, Front-end frameworks
- 📫 Ping me by Email
⚒ Alfred workflow to search for npm packages with npmjs.com
Home Page: http://www.packal.org/workflow/npmsearch
License: MIT License
a Developer.
Starting debug for 'NpmSearch'
[2018-03-26 21:02:16][ERROR: input.scriptfilter] Code 1: 21:02:16 workflow.py:2249 DEBUG workflow version: 1.0.2
21:02:16 workflow.py:2462 DEBUG update_data: None
21:02:16 workflow.py:2267 ERROR 'NoneType' object has no attribute 'read'
Traceback (most recent call last):
File "/Users/racan/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.32269DE4-9B2C-4C9A-9A6D-92B6E98E2ED3/workflow/workflow.py", line 2260, in run
func(self)
File "npm_workflow.py", line 63, in main
data = wf.cached_data(query, functools.partial(queryPackage, query), max_age=MAX_AGE)
File "/Users/racan/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.32269DE4-9B2C-4C9A-9A6D-92B6E98E2ED3/workflow/workflow.py", line 1890, in cached_data
data = data_func()
File "npm_workflow.py", line 50, in queryPackage
return web.get(url).json()
File "/Users/racan/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.32269DE4-9B2C-4C9A-9A6D-92B6E98E2ED3/workflow/web.py", line 271, in json
return json.loads(self.content, self.encoding or 'utf-8')
File "/Users/racan/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.32269DE4-9B2C-4C9A-9A6D-92B6E98E2ED3/workflow/web.py", line 302, in content
self._content = self.raw.read()
AttributeError: 'NoneType' object has no attribute 'read'
21:02:16 workflow.py:2290 DEBUG workflow finished in 0.379 seconds
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.