Codync
무료 오픈소스 1:1 대안, Grok Bot과 Muse 대신
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Higher order functions for iterators/generators and async iterators/generators
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Hyperjump Pact is a utility library that provides higher order functions for working with iterators and async iterators.
Designed for node.js (ES Modules, TypeScript) and browsers.
npm install @hyperjump/pact --save
import { pipe, range, map, filter, reduce } from "@hyperjump/pact";
const result = pipe(
range(1, 10),
filter((n) => n % 2 === 0),
map((n) => n * 2),
reduce((sum, n) => sum + n, 0)
);
console.log(result);
import { pipe, asyncMap, asyncFilter, asyncReduce } from "@hyperjump/pact";
// You can alternatively import the async functions without the prefix
// import { pipe, map, filter, reduce } from "@hyperjump/pact/async";
const asyncSequence = async function* () {
yield 1;
yield 2;
yield 3;
yield 4;
yield 5;
};
for await (const value of asyncSequence()) {
console.log(value);
}
const result = await pipe(
asyncSequence(),
asyncFilter((n) => n % 2 === 0),
asyncMap((n) => n * 2),
asyncReduce((sum, n) => sum + n, 0)
);
console.log(result);
Run the tests
npm test
Run the tests with a continuous test runner
npm test -- --watch
Lint and type-check
npm run lint
npm run type-check
The design docs, principles, and style guide are in
design/.